mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
Merge 6c8e20ab76 into 12eabbd76d
This commit is contained in:
commit
499d9d8a79
1 changed files with 3 additions and 0 deletions
|
|
@ -135,6 +135,9 @@ func (args *TransactionArgs) setDefaults(ctx context.Context, b Backend, config
|
|||
if args.BlobHashes != nil {
|
||||
return errors.New(`missing "to" in blob transaction`)
|
||||
}
|
||||
if args.AuthorizationList != nil {
|
||||
return errors.New(`missing "to" in set code transaction`)
|
||||
}
|
||||
if len(args.data()) == 0 {
|
||||
return errors.New(`contract creation without any data provided`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue