core/types: fix comment

This commit is contained in:
Gary Rong 2025-03-19 09:51:22 +08:00
parent d3f230f8ed
commit 16188c703e

View file

@ -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,