fix some bug

This commit is contained in:
zhl 2023-04-14 16:43:11 +08:00
parent 6fd22e3984
commit 3ddd34282f

View File

@ -195,6 +195,7 @@ export function* getPastEventsIter({
yield new RedisClient().set(redisKey, from + '')
}
yield getPastEvents({ contract, event, fromBlock: from, toBlock: toBlockBN, options })
yield new RedisClient().set(redisKey, from + '')
}
export async function processEvents(web3, iterator, processedEvent) {