Merge pull request #728 from tgerring/issue727

Fix RPC Call output when empty
pull/733/head
Jeffrey Wilcke 10 years ago
commit 545ff1e3f3
  1. 4
      rpc/api.go

@ -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":

Loading…
Cancel
Save