mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
add input formatter
This commit is contained in:
parent
8d77ab3551
commit
42a6c5e6ff
1 changed files with 1 additions and 0 deletions
|
|
@ -500,6 +500,7 @@ web3._extend({
|
|||
return (web3._extend.utils.isString(args[0]) && args[0].indexOf('0x') === 0) ? 'eth_getTransactionReceiptsByBlockHash' : 'eth_getTransactionReceiptsByBlockNumber';
|
||||
},
|
||||
params: 1,
|
||||
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter, web3._extend.utils.toHex]
|
||||
}),
|
||||
new web3._extend.Method({
|
||||
name: 'chainId',
|
||||
|
|
|
|||
Loading…
Reference in a new issue