aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/miner_js.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-10 17:29:52 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-06-11 20:01:41 +0800
commitbd38428f33b127e9c60d26127695e50c55798fcd (patch)
tree9bb838822fc3d1b28775f57223a30a243d4df9f2 /rpc/api/miner_js.go
parent87b62f75a7b9c15c17f3352f1b50ad88966e7070 (diff)
downloadgo-tangerine-bd38428f33b127e9c60d26127695e50c55798fcd.tar.gz
go-tangerine-bd38428f33b127e9c60d26127695e50c55798fcd.tar.zst
go-tangerine-bd38428f33b127e9c60d26127695e50c55798fcd.zip
cleanup of javascript API
Diffstat (limited to 'rpc/api/miner_js.go')
-rw-r--r--rpc/api/miner_js.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/rpc/api/miner_js.go b/rpc/api/miner_js.go
index bcf92f6a7..6290368da 100644
--- a/rpc/api/miner_js.go
+++ b/rpc/api/miner_js.go
@@ -20,13 +20,6 @@ web3._extend({
outputFormatter: web3._extend.formatters.formatOutputBool
}),
new web3._extend.Method({
- name: 'getHashrate',
- call: 'miner_hashrate',
- params: 0,
- inputFormatter: [],
- outputFormatter: web3._extend.utils.toDecimal
- }),
- new web3._extend.Method({
name: 'setExtra',
call: 'miner_setExtra',
params: 1,