Skip to content

Commit

Permalink
Fix mistypo
Browse files Browse the repository at this point in the history
  • Loading branch information
hexoul committed Aug 10, 2018
1 parent 28a9784 commit cc16edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func ToAddressFromPrivkey(privkey []byte) (addr common.Address, rerr error) {
rerr = err
return
}
rpub, err := RecoverPubkey(testmsg, sig)
rpub, err := RecoverPubkey(recoverMsg, sig)
if err != nil {
rerr = err
return
Expand Down

0 comments on commit cc16edc

Please sign in to comment.