Sfoglia il codice sorgente

internal/web3ext: add missing params to debug.accountRange (#21208)

HackyMiner 5 anni fa
parent
commit
9371b2f70c
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      internal/web3ext/web3ext.go

+ 2 - 1
internal/web3ext/web3ext.go

@@ -231,7 +231,8 @@ web3._extend({
 		new web3._extend.Method({
 			name: 'accountRange',
 			call: 'debug_accountRange',
-			params: 2
+			params: 6,
+			inputFormatter: [web3._extend.formatters.inputDefaultBlockNumberFormatter, null, null, null, null, null],
 		}),
 		new web3._extend.Method({
 			name: 'printBlock',