From b42b70eb5fd55741175dd5503686843a9d7d043a Mon Sep 17 00:00:00 2001 From: zsfelfoldi Date: Fri, 12 Jun 2015 14:11:10 +0200 Subject: fixed rpc/api.GasPrice --- 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 a0b9dad86..943f19b90 100644 --- a/rpc/api/eth.go +++ b/rpc/api/eth.go @@ -139,7 +139,7 @@ func (self *ethApi) IsMining(req *shared.Request) (interface{}, error) { } func (self *ethApi) GasPrice(req *shared.Request) (interface{}, error) { - return newHexNum(xeth.DefaultGasPrice().Bytes()), nil + return newHexNum(self.xeth.DefaultGasPrice().Bytes()), nil } func (self *ethApi) GetStorage(req *shared.Request) (interface{}, error) { -- cgit v1.2.3