From d89e2d6734b3e020023a26f70af81144a38d77b4 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Tue, 14 Jan 2025 10:56:13 +0800 Subject: [PATCH] accounts: fix comments (#24186) --- accounts/accounts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/accounts.go b/accounts/accounts.go index 1ee8acff6b..606ffc99e7 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -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}). // @@ -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}). //