aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 04:40:52 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 04:40:52 +0800
commitbbca6250ff23acc1ece998dbaf2c974aa7f9ce9c (patch)
treec45a378b4f8d50f3db463d6fb33f7f48a647a2ed /rpc/api.go
parent40ea46620066bd7888b3f9a425fcd6201e0c7320 (diff)
parent2f3a9681360f5326137de3aeb0aa8e2130de562a (diff)
downloaddexon-bbca6250ff23acc1ece998dbaf2c974aa7f9ce9c.tar.gz
dexon-bbca6250ff23acc1ece998dbaf2c974aa7f9ce9c.tar.zst
dexon-bbca6250ff23acc1ece998dbaf2c974aa7f9ce9c.zip
Merge branch 'rpccall' into hexify
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 48039511e..7f10f16e3 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -159,7 +159,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
}
*reply = v
case "eth_call":
- args := new(NewTxArgs)
+ args := new(CallArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}