From 6388767df080679346b045336275b208285b97d6 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Wed, 15 Apr 2015 12:45:20 -0500 Subject: [PATCH] Fix call output when empty --- rpc/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/api.go b/rpc/api.go index 4b61fa3a58..bf5066f9a4 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -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":