good morning!!!!

Skip to content
Snippets Groups Projects
Commit 63c5c7fb authored by Kobi Gurkan's avatar Kobi Gurkan
Browse files

uses newHexNum for eth_hashrate

parent 41b83fe1
Branches
Tags
No related merge requests found
......@@ -63,7 +63,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
case "eth_mining":
*reply = api.xeth().IsMining()
case "eth_hashrate":
*reply = api.xeth().HashRate()
*reply = newHexNum(api.xeth().HashRate())
case "eth_gasPrice":
v := xeth.DefaultGas()
*reply = newHexData(v.Bytes())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment