From fb743e9d0079670fa41a53a2aa7b180ceb16c8a3 Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Thu, 31 Jul 2025 09:33:49 +0800 Subject: [PATCH] Update tx_setcode.go --- core/types/tx_setcode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/types/tx_setcode.go b/core/types/tx_setcode.go index f1b9cbb78b..f2281d4ae7 100644 --- a/core/types/tx_setcode.go +++ b/core/types/tx_setcode.go @@ -105,6 +105,7 @@ func SignSetCode(prv *ecdsa.PrivateKey, auth SetCodeAuthorization) (SetCodeAutho }, nil } +// SigHash returns the hash of SetCodeAuthorization for signing. func (a *SetCodeAuthorization) SigHash() common.Hash { return prefixedRlpHash(0x05, []any{ a.ChainID,