New CallArgs

Requirements for calls differ from transactions
This commit is contained in:
Taylor Gerring
2015-03-30 16:20:30 +02:00
parent f23529c5cd
commit 2f3a968136
3 changed files with 357 additions and 9 deletions

View File

@ -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
}