aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-06-12 20:11:10 +0800
committerzsfelfoldi <zsfelfoldi@gmail.com>2015-06-15 21:55:39 +0800
commitb42b70eb5fd55741175dd5503686843a9d7d043a (patch)
tree18ee9a8ab2e06e1c6b48bf8852cf1ff43ae62b26 /rpc
parent610adfd83f14652ba08d99fb098d1d62123abd38 (diff)
downloaddexon-b42b70eb5fd55741175dd5503686843a9d7d043a.tar
dexon-b42b70eb5fd55741175dd5503686843a9d7d043a.tar.gz
dexon-b42b70eb5fd55741175dd5503686843a9d7d043a.tar.bz2
dexon-b42b70eb5fd55741175dd5503686843a9d7d043a.tar.lz
dexon-b42b70eb5fd55741175dd5503686843a9d7d043a.tar.xz
dexon-b42b70eb5fd55741175dd5503686843a9d7d043a.tar.zst
dexon-b42b70eb5fd55741175dd5503686843a9d7d043a.zip
fixed rpc/api.GasPrice
Diffstat (limited to 'rpc')
-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) {