From 3ad5243b188820ef61624ea761344d8fd3391e49 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Mon, 27 Apr 2015 13:58:32 -0500 Subject: [PATCH] Return Gas Price not Gas And output as quantity, not data --- rpc/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/api.go b/rpc/api.go index cbf03ed86..5930a4c7b 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":