diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-30 22:20:30 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-30 22:20:30 +0800 |
commit | 2f3a9681360f5326137de3aeb0aa8e2130de562a (patch) | |
tree | 6e226d0cf53cb6cfd7dba15a6959df09d7ab1237 /rpc/api.go | |
parent | f23529c5cde47f713ada745629a7bdc8e1506fa7 (diff) | |
download | dexon-2f3a9681360f5326137de3aeb0aa8e2130de562a.tar dexon-2f3a9681360f5326137de3aeb0aa8e2130de562a.tar.gz dexon-2f3a9681360f5326137de3aeb0aa8e2130de562a.tar.bz2 dexon-2f3a9681360f5326137de3aeb0aa8e2130de562a.tar.lz dexon-2f3a9681360f5326137de3aeb0aa8e2130de562a.tar.xz dexon-2f3a9681360f5326137de3aeb0aa8e2130de562a.tar.zst dexon-2f3a9681360f5326137de3aeb0aa8e2130de562a.zip |
New CallArgs
Requirements for calls differ from transactions
Diffstat (limited to 'rpc/api.go')
-rw-r--r-- | rpc/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go index 502079177..bcd073ed2 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 } |