diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-28 17:16:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-28 17:16:03 +0800 |
commit | 459d8987050e85fcae23d169453fc4d7f185eefc (patch) | |
tree | 89a6632020c96d1908bbd57ee0df1fb99b2eeee2 /rpc | |
parent | 46f63ef04f326a9c792c4f9f055e90100a3528f7 (diff) | |
download | go-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.go | 2 |
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": |