Commit 6388767d authored by Taylor Gerring's avatar Taylor Gerring

Fix call output when empty

parent ec6cbb91
...@@ -182,8 +182,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err ...@@ -182,8 +182,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
if err != nil { if err != nil {
return err return err
} }
// TODO unwrap the parent method's ToHex call
*reply = v *reply = newHexData(common.FromHex(v))
case "eth_flush": case "eth_flush":
return NewNotImplementedError(req.Method) return NewNotImplementedError(req.Method)
case "eth_getBlockByHash": case "eth_getBlockByHash":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment