diff options
Diffstat (limited to 'rpc/api.go')
-rw-r--r-- | rpc/api.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/api.go b/rpc/api.go index 4a9eb5963..6d3a20bfa 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -467,6 +467,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err return err } *reply = api.xeth().WhisperMessages(args.Id) + case "eth_hashrate": + *reply = newHexNum(api.xeth().HashRate()) // case "eth_register": // // Placeholder for actual type |