Skip to content

Commit 0e6ea91

Browse files
authored
Merge pull request #20781 from karalabe/fix-clique-console-apis
internal/web3ext: fix clique console apis to work on missing arguments
2 parents 36e93d2 + e6ca195 commit 0e6ea91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/web3ext/web3ext.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ web3._extend({
7474
name: 'getSnapshot',
7575
call: 'clique_getSnapshot',
7676
params: 1,
77-
inputFormatter: [web3._extend.utils.fromDecimal]
77+
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter]
7878
}),
7979
new web3._extend.Method({
8080
name: 'getSnapshotAtHash',
@@ -85,7 +85,7 @@ web3._extend({
8585
name: 'getSigners',
8686
call: 'clique_getSigners',
8787
params: 1,
88-
inputFormatter: [web3._extend.utils.fromDecimal]
88+
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter]
8989
}),
9090
new web3._extend.Method({
9191
name: 'getSignersAtHash',

0 commit comments

Comments
 (0)