Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto: add StringCompressed() for PublicKey #3408

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Conversation

AliceInHunterland
Copy link
Contributor

Close #3263

pkg/crypto/keys/publickey.go Outdated Show resolved Hide resolved
pkg/crypto/keys/publickey.go Outdated Show resolved Hide resolved
@AliceInHunterland AliceInHunterland force-pushed the hex-string-pub branch 2 times, most recently from 76d3daf to eee485c Compare April 10, 2024 15:35
Copy link

codecov bot commented Apr 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.10%. Comparing base (8913542) to head (fc79d38).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3408      +/-   ##
==========================================
+ Coverage   86.08%   86.10%   +0.01%     
==========================================
  Files         331      331              
  Lines       38107    38108       +1     
==========================================
+ Hits        32805    32812       +7     
+ Misses       3785     3781       -4     
+ Partials     1517     1515       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AliceInHunterland AliceInHunterland changed the title crypto: add CompressedHexString for PublicKey crypto: add StringCompressed() for PublicKey Apr 11, 2024
@AnnaShaleva
Copy link
Member

Contribution guideline job is failing.

Add StringCompressed to get a string representation of the key in
compressed form.

Close #3263

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
@AnnaShaleva AnnaShaleva merged commit d3993ad into master Apr 15, 2024
20 checks passed
@AnnaShaleva AnnaShaleva deleted the hex-string-pub branch April 15, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compressed stringer for public keys
3 participants