fix: update events

This commit is contained in:
Danil Kovtonyuk 2022-05-31 13:26:02 +10:00
parent 95ef203ed4
commit 1677786d9b

View File

@ -85,7 +85,6 @@ async function main(type, netId) {
console.log('numberParts', numberParts)
let events = []
let toBlock = startBlock + part
if (startBlock < currentBlockNumber) {
@ -116,7 +115,6 @@ async function main(type, netId) {
}
}
}
console.log({ events })
} else {
events = await contract.getPastEvents(type, {
fromBlock: startBlock,