Fix call output when empty

This commit is contained in:
Taylor Gerring 2015-04-15 12:45:20 -05:00
parent ec6cbb914b
commit 6388767df0
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
if err != nil {
return err
}
*reply = v
// TODO unwrap the parent method's ToHex call
*reply = newHexData(common.FromHex(v))
case "eth_flush":
return NewNotImplementedError(req.Method)
case "eth_getBlockByHash":