Skip to content

Commit

Permalink
accounts: correct comment (ethereum#24186)
Browse files Browse the repository at this point in the history
Change two instances of the word `calulcated` to `calculated`.
  • Loading branch information
pcresswell authored and JacekGlen committed May 26, 2022
1 parent 58f3379 commit d3e30ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ type Backend interface {
// TextHash is a helper function that calculates a hash for the given message that can be
// safely used to calculate a signature from.
//
// The hash is calulcated as
// The hash is calculated as
// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}).
//
// This gives context to the signed message and prevents signing of transactions.
Expand All @@ -188,7 +188,7 @@ func TextHash(data []byte) []byte {
// TextAndHash is a helper function that calculates a hash for the given message that can be
// safely used to calculate a signature from.
//
// The hash is calulcated as
// The hash is calculated as
// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}).
//
// This gives context to the signed message and prevents signing of transactions.
Expand Down

0 comments on commit d3e30ed

Please sign in to comment.