aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-06-15 23:44:25 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-06-15 23:44:25 +0800
commitf2a2164184a9397d8e6100c370595ccdcd00ca0b (patch)
treebe5f43c0255c6351b2c1b9a6db191318974fe664 /rpc/api/eth.go
parentf475a013264b5036dfe9fcc04e21c4112845b9a2 (diff)
parent1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658 (diff)
downloadgo-tangerine-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar
go-tangerine-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.gz
go-tangerine-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.bz2
go-tangerine-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.lz
go-tangerine-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.xz
go-tangerine-f2a2164184a9397d8e6100c370595ccdcd00ca0b.tar.zst
go-tangerine-f2a2164184a9397d8e6100c370595ccdcd00ca0b.zip
Merge pull request #990 from zsfelfoldi/gasprice
eth: add GasPriceOracle
Diffstat (limited to 'rpc/api/eth.go')
-rw-r--r--rpc/api/eth.go2
1 files changed, 1 insertions, 1 deletions
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) {