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)
downloadgo-tangerine-459d8987050e85fcae23d169453fc4d7f185eefc.tar
go-tangerine-459d8987050e85fcae23d169453fc4d7f185eefc.tar.gz
go-tangerine-459d8987050e85fcae23d169453fc4d7f185eefc.tar.bz2
go-tangerine-459d8987050e85fcae23d169453fc4d7f185eefc.tar.lz
go-tangerine-459d8987050e85fcae23d169453fc4d7f185eefc.tar.xz
go-tangerine-459d8987050e85fcae23d169453fc4d7f185eefc.tar.zst
go-tangerine-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":