aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/eth.go')
-rw-r--r--rpc/api/eth.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/rpc/api/eth.go b/rpc/api/eth.go
index c5de2cd3b..2857202dd 100644
--- a/rpc/api/eth.go
+++ b/rpc/api/eth.go
@@ -255,13 +255,7 @@ func (self *ethApi) PushTx(req *shared.Request) (interface{}, error) {
return nil, shared.NewDecodeParamError(err.Error())
}
- // nonce may be nil ("guess" mode)
- var nonce string
- if args.Nonce != nil {
- nonce = args.Nonce.String()
- }
-
- v, err := self.xeth.PushTx(args.encodedTx)
+ v, err := self.xeth.PushTx(args.Data)
if err != nil {
return nil, err
}