aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth.go
diff options
context:
space:
mode:
authorSilentCicero <silentcicero@outlook.com>2015-06-17 00:28:10 +0800
committerSilentCicero <silentcicero@outlook.com>2015-06-17 00:28:10 +0800
commit7ec8c257ffd90ba4b63e5419ac9b9011af79be07 (patch)
treeaaa41e65927d3d53b39d85ee115ec5b91bb94824 /rpc/api/eth.go
parente952bb65e7f74dc023a983415821b3522cc30746 (diff)
downloaddexon-7ec8c257ffd90ba4b63e5419ac9b9011af79be07.tar.gz
dexon-7ec8c257ffd90ba4b63e5419ac9b9011af79be07.tar.zst
dexon-7ec8c257ffd90ba4b63e5419ac9b9011af79be07.zip
New DataArgs and eth_sendRawTransaction
Diffstat (limited to 'rpc/api/eth.go')
-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 bb89615cf..e1e7381f5 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(NewSigArgs)
+ args := new(NewDataArgs)
if err := self.codec.Decode(req.Params, &args); err != nil {
return nil, shared.NewDecodeParamError(err.Error())
}