aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-04-04 19:24:21 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-04-04 19:24:21 +0800
commit47298264663a563b34ebb8a1faf9fb8326fdef01 (patch)
treea8d42be85553fbb057cc47356d85cfea24d6832b /rpc/api.go
parent3e042317adc99438d6ffde0cbde4f0b40ad579c1 (diff)
parentbc5528b165e48e223c9c38dc1355511014c97e34 (diff)
downloaddexon-47298264663a563b34ebb8a1faf9fb8326fdef01.tar.gz
dexon-47298264663a563b34ebb8a1faf9fb8326fdef01.tar.zst
dexon-47298264663a563b34ebb8a1faf9fb8326fdef01.zip
Merge branch 'develop' into rpcfabian
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 573f689a2..30ba1ddc1 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -68,7 +68,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()