aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 4a17d3b15..44146c8c7 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -67,7 +67,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
case "eth_mining":
*reply = api.xeth().IsMining()
case "eth_gasPrice":
- v := api.xeth().DefaultGas()
+ v := xeth.DefaultGas()
*reply = common.ToHex(v.Bytes())
case "eth_accounts":
*reply = api.xeth().Accounts()