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 5930a4c7b..9fbe2c565 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -465,6 +465,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err return err } *reply = api.xeth().Whisper().Messages(args.Id) + case "ext_hashrate": + *reply = newHexNum(api.xeth().HashRate()) // case "eth_register": // // Placeholder for actual type |