fix some bug
This commit is contained in:
parent
6fd22e3984
commit
3ddd34282f
@ -195,6 +195,7 @@ export function* getPastEventsIter({
|
|||||||
yield new RedisClient().set(redisKey, from + '')
|
yield new RedisClient().set(redisKey, from + '')
|
||||||
}
|
}
|
||||||
yield getPastEvents({ contract, event, fromBlock: from, toBlock: toBlockBN, options })
|
yield getPastEvents({ contract, event, fromBlock: from, toBlock: toBlockBN, options })
|
||||||
|
yield new RedisClient().set(redisKey, from + '')
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function processEvents(web3, iterator, processedEvent) {
|
export async function processEvents(web3, iterator, processedEvent) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user