mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
Update tx_setcode.go
This commit is contained in:
parent
743d25a3ec
commit
fb743e9d00
1 changed files with 1 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ func SignSetCode(prv *ecdsa.PrivateKey, auth SetCodeAuthorization) (SetCodeAutho
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SigHash returns the hash of SetCodeAuthorization for signing.
|
||||||
func (a *SetCodeAuthorization) SigHash() common.Hash {
|
func (a *SetCodeAuthorization) SigHash() common.Hash {
|
||||||
return prefixedRlpHash(0x05, []any{
|
return prefixedRlpHash(0x05, []any{
|
||||||
a.ChainID,
|
a.ChainID,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue