diff --git a/rpc/api.go b/rpc/api.go index cbf03ed86adb1f4f8c1a66c8ee077875e8080fa6..5930a4c7b3783c2e84e9610d92c91fb5b08b9b62 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -63,8 +63,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err case "eth_mining": *reply = api.xeth().IsMining() case "eth_gasPrice": - v := xeth.DefaultGas() - *reply = newHexData(v.Bytes()) + v := xeth.DefaultGasPrice() + *reply = newHexNum(v.Bytes()) case "eth_accounts": *reply = api.xeth().Accounts() case "eth_blockNumber":