mirror of https://github.com/status-im/web3.js.git
add missing inputBlockNumberFormatter
This commit is contained in:
parent
dfbad66d99
commit
08dc2b2e0d
|
@ -1842,7 +1842,7 @@ var getBlock = new Method({
|
|||
name: 'getBlock',
|
||||
call: blockCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, function (val) { return !!val; }],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, function (val) { return !!val; }],
|
||||
outputFormatter: formatters.outputBlockFormatter
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1842,7 +1842,7 @@ var getBlock = new Method({
|
|||
name: 'getBlock',
|
||||
call: blockCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, function (val) { return !!val; }],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, function (val) { return !!val; }],
|
||||
outputFormatter: formatters.outputBlockFormatter
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -102,7 +102,7 @@ var getBlock = new Method({
|
|||
name: 'getBlock',
|
||||
call: blockCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, function (val) { return !!val; }],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, function (val) { return !!val; }],
|
||||
outputFormatter: formatters.outputBlockFormatter
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue