Default gas

This commit is contained in:
obscuren
2015-04-02 14:00:49 +02:00
parent 55b1c1546b
commit 1e28b424e7
3 changed files with 7 additions and 5 deletions

View File

@ -67,7 +67,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
case "eth_mining":
*reply = api.xeth().IsMining()
case "eth_gasPrice":
v := api.xeth().DefaultGas()
v := xeth.DefaultGas()
*reply = common.ToHex(v.Bytes())
case "eth_accounts":
*reply = api.xeth().Accounts()