-
Notifications
You must be signed in to change notification settings - Fork 74
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
Fix edwards cruve CompressedPublicKey #299
Conversation
@@ -56,10 +57,18 @@ func (ed *ed25519) Slip10SeedList() []byte { | |||
|
|||
func (ed *ed25519) CompressedPublicKey(secret *big.Int, method string) []byte { | |||
if method == BIP32ED25519 { | |||
x, y := edwards.Edwards().ScalarBaseMult(secret.Bytes()[:32]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BIP32ED25519 的原本是 bip32
幫我換成 BIP32ED25519 謝謝
90f81ec
to
526bdd9
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #299 +/- ##
==========================================
+ Coverage 75.92% 75.95% +0.03%
==========================================
Files 152 152
Lines 11532 11530 -2
==========================================
+ Hits 8756 8758 +2
+ Misses 2016 2012 -4
Partials 760 760 ☔ View full report in Codecov by Sentry. |
Before submitting a pull request, please make sure the following is done:
Checklist
master
.