From 260536a729337e47646d6d72d19d2095b6d71f4c Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 12 May 2015 15:02:44 +0200 Subject: rpc: hexData => hexNum --- rpc/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc') diff --git a/rpc/api.go b/rpc/api.go index 774d26ea2..066c81222 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -194,9 +194,9 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err // TODO unwrap the parent method's ToHex call if len(gas) == 0 { - *reply = newHexData([]byte{}) + *reply = newHexNum(0) } else { - *reply = newHexData(gas) + *reply = newHexNum(gas) } case "eth_call": v, _, err := api.doCall(req.Params) -- cgit