diff options
-rw-r--r-- | rpc/api/eth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api/eth.go b/rpc/api/eth.go index 1e392a63d..bb89615cf 100644 --- a/rpc/api/eth.go +++ b/rpc/api/eth.go @@ -250,7 +250,7 @@ func (self *ethApi) Sign(req *shared.Request) (interface{}, error) { func (self *ethApi) PushTx(req *shared.Request) (interface{}, error) { - args := new(NewTxArgs) + args := new(NewSigArgs) if err := self.codec.Decode(req.Params, &args); err != nil { return nil, shared.NewDecodeParamError(err.Error()) } |