diff options
Diffstat (limited to 'rpc/api.go')
-rw-r--r-- | rpc/api.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc/api.go b/rpc/api.go index 6154a0b28..5d4e235d9 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -257,6 +257,11 @@ func (p *EthereumApi) Transact(args *NewTxArgs, reply *interface{}) (err error) p.register[ags.From] = append(p.register[args.From], args) } */ + + if err := args.requirements(); err != nil { + return err + } + // TODO: align default values to have the same type, e.g. not depend on // common.Value conversions later on if args.Gas.Cmp(big.NewInt(0)) == 0 { |