mirror of
https://github.com/tornadocash/tornado-classic-ui
synced 2024-02-02 15:04:09 +01:00
fix: update events
This commit is contained in:
parent
95ef203ed4
commit
1677786d9b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user