From d261c3f455b880bfdbefe657df188dc095e2f508 Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Mon, 27 Jul 2015 13:44:37 +0200 Subject: rpc: to in Call no longer required. Fixed eth_estimateGas --- rpc/api/eth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc/api/eth.go') diff --git a/rpc/api/eth.go b/rpc/api/eth.go index ed636004c..328cd4f19 100644 --- a/rpc/api/eth.go +++ b/rpc/api/eth.go @@ -322,7 +322,7 @@ func (self *ethApi) EstimateGas(req *shared.Request) (interface{}, error) { if len(gas) == 0 { return newHexNum(0), nil } else { - return newHexNum(gas), nil + return newHexNum(common.String2Big(gas)), err } } -- cgit v1.2.3