diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-05-26 20:17:43 +0800 |
---|---|---|
committer | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-06-15 21:55:38 +0800 |
commit | 3f94d09c1f07538c3fc72c72609037c47c04c4b5 (patch) | |
tree | 22013e951e7af5e42fa0ded9835b68ea4d1370d9 /rpc | |
parent | 6f5c6150b7060b6b2ee68ac95b30f46c5c2c7f90 (diff) | |
download | dexon-3f94d09c1f07538c3fc72c72609037c47c04c4b5.tar.gz dexon-3f94d09c1f07538c3fc72c72609037c47c04c4b5.tar.zst dexon-3f94d09c1f07538c3fc72c72609037c47c04c4b5.zip |
fixed saving receipts
Diffstat (limited to 'rpc')
-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() |