aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-28 17:16:03 +0800
committerobscuren <geffobscura@gmail.com>2015-04-28 17:16:03 +0800
commit459d8987050e85fcae23d169453fc4d7f185eefc (patch)
tree89a6632020c96d1908bbd57ee0df1fb99b2eeee2 /rpc
parent46f63ef04f326a9c792c4f9f055e90100a3528f7 (diff)
downloaddexon-459d8987050e85fcae23d169453fc4d7f185eefc.tar
dexon-459d8987050e85fcae23d169453fc4d7f185eefc.tar.gz
dexon-459d8987050e85fcae23d169453fc4d7f185eefc.tar.bz2
dexon-459d8987050e85fcae23d169453fc4d7f185eefc.tar.lz
dexon-459d8987050e85fcae23d169453fc4d7f185eefc.tar.xz
dexon-459d8987050e85fcae23d169453fc4d7f185eefc.tar.zst
dexon-459d8987050e85fcae23d169453fc4d7f185eefc.zip
eth, rpc, xeth: ext_hanhrate => eth_hashrate
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 9fbe2c565..6f7a81474 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -465,7 +465,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
return err
}
*reply = api.xeth().Whisper().Messages(args.Id)
- case "ext_hashrate":
+ case "eth_hashrate":
*reply = newHexNum(api.xeth().HashRate())
// case "eth_register":