Skip to content

Commit d0bd501

Browse files
authored
accounts: correct comment (#24186)
Change two instances of the word `calulcated` to `calculated`.
1 parent 98be5f9 commit d0bd501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accounts/accounts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ type Backend interface {
176176
// TextHash is a helper function that calculates a hash for the given message that can be
177177
// safely used to calculate a signature from.
178178
//
179-
// The hash is calulcated as
179+
// The hash is calculated as
180180
// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}).
181181
//
182182
// This gives context to the signed message and prevents signing of transactions.
@@ -188,7 +188,7 @@ func TextHash(data []byte) []byte {
188188
// TextAndHash is a helper function that calculates a hash for the given message that can be
189189
// safely used to calculate a signature from.
190190
//
191-
// The hash is calulcated as
191+
// The hash is calculated as
192192
// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}).
193193
//
194194
// This gives context to the signed message and prevents signing of transactions.

0 commit comments

Comments
 (0)