aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/web3ext/web3ext.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index 000e3728d..f4eb47a12 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -520,6 +520,11 @@ web3._extend({
inputFormatter: [web3._extend.utils.fromDecimal]
}),
new web3._extend.Method({
+ name: 'setRecommitInterval',
+ call: 'miner_setRecommitInterval',
+ params: 1,
+ }),
+ new web3._extend.Method({
name: 'getHashrate',
call: 'miner_getHashrate'
}),