From 1e28b424e7f0f0d16f467ac7bac08b9dc0384106 Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 2 Apr 2015 14:00:49 +0200 Subject: Default gas --- rpc/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc/api.go') 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() -- cgit