Address pull request comments
* Use crypto.Sign instead of directly calling secp256k1 lib * Rename UserAccount to Account and Addr to Address (for consistency) * Change AccountManager.Sign to take ptr to Account instead of address byte array * Simplify copying of Accounts in Accounts() * PubkeyToAddress and GetEntropyCSPRNG now exported
Showing
- accounts/account_manager.go 12 additions, 16 deletionsaccounts/account_manager.go
- accounts/accounts_test.go 2 additions, 3 deletionsaccounts/accounts_test.go
- crypto/crypto.go 3 additions, 4 deletionscrypto/crypto.go
- crypto/key.go 1 addition, 1 deletioncrypto/key.go
- crypto/key_store_passphrase.go 3 additions, 3 deletionscrypto/key_store_passphrase.go
Loading
Please register or sign in to comment