aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Dodson <silentcicero@outlook.com>2015-06-16 04:01:01 +0800
committerNick Dodson <silentcicero@outlook.com>2015-06-16 04:01:01 +0800
commit2642e091e95f7c74c04502dfd05af0d9d1217158 (patch)
tree69690d489899dea7a374ff6612348fb40146e97a
parentad56aef5d2a5e04f528f85c2d29b6574991d5e79 (diff)
downloaddexon-2642e091e95f7c74c04502dfd05af0d9d1217158.tar.gz
dexon-2642e091e95f7c74c04502dfd05af0d9d1217158.tar.zst
dexon-2642e091e95f7c74c04502dfd05af0d9d1217158.zip
NewSigArgs arg change.
-rw-r--r--rpc/api/eth.go2
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())
}