aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-05-26 20:17:43 +0800
committerzsfelfoldi <zsfelfoldi@gmail.com>2015-06-15 21:55:38 +0800
commit3f94d09c1f07538c3fc72c72609037c47c04c4b5 (patch)
tree22013e951e7af5e42fa0ded9835b68ea4d1370d9 /rpc
parent6f5c6150b7060b6b2ee68ac95b30f46c5c2c7f90 (diff)
downloadgo-tangerine-3f94d09c1f07538c3fc72c72609037c47c04c4b5.tar.gz
go-tangerine-3f94d09c1f07538c3fc72c72609037c47c04c4b5.tar.zst
go-tangerine-3f94d09c1f07538c3fc72c72609037c47c04c4b5.zip
fixed saving receipts
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go2
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()