Skip to content

Commit 545ff1e

Browse files
committed
Merge pull request #728 from tgerring/issue727
Fix RPC Call output when empty
2 parents 2c2ddcb + 6388767 commit 545ff1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpc/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
182182
if err != nil {
183183
return err
184184
}
185-
186-
*reply = v
185+
// TODO unwrap the parent method's ToHex call
186+
*reply = newHexData(common.FromHex(v))
187187
case "eth_flush":
188188
return NewNotImplementedError(req.Method)
189189
case "eth_getBlockByHash":

0 commit comments

Comments
 (0)