Skip to content

Commit

Permalink
Merge pull request ethereum#20781 from karalabe/fix-clique-console-apis
Browse files Browse the repository at this point in the history
internal/web3ext: fix clique console apis to work on missing arguments
  • Loading branch information
karalabe authored Mar 19, 2020
2 parents 36e93d2 + e6ca195 commit 0e6ea91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/web3ext/web3ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ web3._extend({
name: 'getSnapshot',
call: 'clique_getSnapshot',
params: 1,
inputFormatter: [web3._extend.utils.fromDecimal]
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter]
}),
new web3._extend.Method({
name: 'getSnapshotAtHash',
Expand All @@ -85,7 +85,7 @@ web3._extend({
name: 'getSigners',
call: 'clique_getSigners',
params: 1,
inputFormatter: [web3._extend.utils.fromDecimal]
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter]
}),
new web3._extend.Method({
name: 'getSignersAtHash',
Expand Down

0 comments on commit 0e6ea91

Please sign in to comment.