diff --git a/rpc/api/eth.go b/rpc/api/eth.go index 1e392a63d0..bb89615cf4 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()) }