aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext/web3ext.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web3ext/web3ext.go')
-rw-r--r--internal/web3ext/web3ext.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index 2012c2517..e6bd18116 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -294,7 +294,12 @@ web3._extend({
call: 'debug_preimage',
params: 1,
inputFormatter: [null]
- })
+ }),
+ new web3._extend.Method({
+ name: 'getBadBlocks',
+ call: 'debug_getBadBlocks',
+ params: 0,
+ }),
],
properties: []
});