aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Dodson <silentcicero@outlook.com>2015-06-15 22:50:07 +0800
committerNick Dodson <silentcicero@outlook.com>2015-06-15 22:50:07 +0800
commitf9f9352ceb2655cdf10010b6e8c30797ac97ae25 (patch)
tree181b5c7b985ea772e88a122b7542e7909d500e47
parentd6233c7d2daca8f1c757740e04ba1a8d64588fc0 (diff)
downloaddexon-f9f9352ceb2655cdf10010b6e8c30797ac97ae25.tar.gz
dexon-f9f9352ceb2655cdf10010b6e8c30797ac97ae25.tar.zst
dexon-f9f9352ceb2655cdf10010b6e8c30797ac97ae25.zip
Change eth_pushTx case to eth_sendRawTransaction
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 01f3007cf..943d50119 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -170,7 +170,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
}
*reply = v
- case "eth_pushTx":
+ case "eth_sendRawTransaction":
args := new(NewSigArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
return err