Skip to content

Commit

Permalink
accounts: fix comments (ethereum#24186)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Jan 14, 2025
1 parent 9313fc0 commit c1c7b9b
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 @@ -187,7 +187,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}).
//
Expand All @@ -200,7 +200,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}).
//
Expand Down

0 comments on commit c1c7b9b

Please sign in to comment.