mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-12 14:19:04 +00:00
Merge pull request #728 from tgerring/issue727
Fix RPC Call output when empty
This commit is contained in:
commit
545ff1e3f3
1 changed files with 2 additions and 2 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in a new issue