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,