diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-15 23:44:25 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-15 23:44:25 +0800 |
commit | f2a2164184a9397d8e6100c370595ccdcd00ca0b (patch) | |
tree | be5f43c0255c6351b2c1b9a6db191318974fe664 /rpc/api.go | |
parent | f475a013264b5036dfe9fcc04e21c4112845b9a2 (diff) | |
parent | 1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658 (diff) | |
download | dexon-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar dexon-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.gz dexon-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.bz2 dexon-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.lz dexon-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.xz dexon-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.zst dexon-f2a2164184a9397d8e6100c370595ccdcd00ca0b.zip |
Merge pull request #990 from zsfelfoldi/gasprice
eth: add GasPriceOracle
Diffstat (limited to 'rpc/api.go')
-rw-r--r-- | rpc/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go index e35395734..8b9a080f8 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -59,7 +59,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err case "eth_mining": *reply = api.xeth().IsMining() case "eth_gasPrice": - v := xeth.DefaultGasPrice() + v := api.xeth().DefaultGasPrice() *reply = newHexNum(v.Bytes()) case "eth_accounts": *reply = api.xeth().Accounts() |