mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-18 05:56:37 +00:00
Fix call output when empty
This commit is contained in:
parent
ec6cbb914b
commit
6388767df0
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 {
|
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…
Reference in a new issue