diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 4e6102671d8db..8d1980c43a9af 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -522,7 +522,7 @@ func (s *PrivateAccountAPI) SignTransaction(ctx context.Context, args Transactio } // Sign calculates an Ethereum ECDSA signature for: -// keccack256("\x19Ethereum Signed Message:\n" + len(message) + message)) +// keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)) // // Note, the produced signature conforms to the secp256k1 curve R, S and V values, // where the V value will be 27 or 28 for legacy reasons. @@ -1946,7 +1946,7 @@ func (s *PublicTransactionPoolAPI) SendRawTransactions(ctx context.Context, enco } // Sign calculates an ECDSA signature for: -// keccack256("\x19Ethereum Signed Message:\n" + len(message) + message). +// keccak256("\x19Ethereum Signed Message:\n" + len(message) + message). // // Note, the produced signature conforms to the secp256k1 curve R, S and V values, // where the V value will be 27 or 28 for legacy reasons.