good morning!!!!

Skip to content
Snippets Groups Projects
Commit 260536a7 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

rpc: hexData => hexNum

parent 66de3f0a
No related branches found
No related tags found
No related merge requests found
......@@ -194,9 +194,9 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
// TODO unwrap the parent method's ToHex call
if len(gas) == 0 {
*reply = newHexData([]byte{})
*reply = newHexNum(0)
} else {
*reply = newHexData(gas)
*reply = newHexNum(gas)
}
case "eth_call":
v, _, err := api.doCall(req.Params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment