good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3ad5243b authored by Taylor Gerring's avatar Taylor Gerring
Browse files

Return Gas Price not Gas

And output as quantity, not data
parent 9a17dd91
Branches
Tags
No related merge requests found
...@@ -63,8 +63,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err ...@@ -63,8 +63,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
case "eth_mining": case "eth_mining":
*reply = api.xeth().IsMining() *reply = api.xeth().IsMining()
case "eth_gasPrice": case "eth_gasPrice":
v := xeth.DefaultGas() v := xeth.DefaultGasPrice()
*reply = newHexData(v.Bytes()) *reply = newHexNum(v.Bytes())
case "eth_accounts": case "eth_accounts":
*reply = api.xeth().Accounts() *reply = api.xeth().Accounts()
case "eth_blockNumber": case "eth_blockNumber":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment