-
Notifications
You must be signed in to change notification settings - Fork 223
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
Add ECDSA support to the wallet #1664
Conversation
if err != nil { | ||
return nil, nil, errors.Wrap(err, "Failed to generate public key") | ||
return nil, errors.Wrap(err, "Failed to deserialized private key") |
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.
Typo: deserialized -> deserialize
cmd/kaspawallet/keys/keys.go
Outdated
@@ -62,11 +64,13 @@ func (d *Data) toJSON() *keysFileJSON { | |||
EncryptedPrivateKeys: encryptedPrivateKeysJSON, | |||
PublicKeys: publicKeysHex, | |||
MinimumSignatures: d.MinimumSignatures, | |||
ECDSA: d.ECDSA, | |||
} | |||
} | |||
|
|||
func (d *Data) fromJSON(kfj *keysFileJSON) error { |
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.
Please avoid using abbreviations in non-receiver variable names.
Codecov Report
@@ Coverage Diff @@
## v0.10.0-dev #1664 +/- ##
===============================================
+ Coverage 59.34% 59.62% +0.27%
===============================================
Files 547 548 +1
Lines 21653 21695 +42
===============================================
+ Hits 12851 12936 +85
+ Misses 6779 6714 -65
- Partials 2023 2045 +22
Continue to review full report at Codecov.
|
Closes #1664