From 16188c703ec0aa326d2b81c9e08c71463cb4382b Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Wed, 19 Mar 2025 09:51:22 +0800 Subject: [PATCH] core/types: fix comment --- core/types/tx_legacy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/types/tx_legacy.go b/core/types/tx_legacy.go index 3eed683f24..49f0a98809 100644 --- a/core/types/tx_legacy.go +++ b/core/types/tx_legacy.go @@ -124,7 +124,7 @@ func (tx *LegacyTx) decode([]byte) error { panic("decode called on LegacyTx)") } -// OBS: This is the post-frontier hash, the pre-frontier does not contain a chainID +// OBS: This is the post-EIP155 hash, the pre-EIP155 does not contain a chainID. func (tx *LegacyTx) sigHash(chainID *big.Int) common.Hash { return rlpHash([]any{ tx.Nonce,