change logic of event catcher

This commit is contained in:
CounterFire2023 2024-01-15 16:11:11 +08:00
parent 1bcdd0879c
commit 51d1ffe77e

View File

@ -66,6 +66,7 @@ export class EventBatchSvr {
_param = this.buildQueryParams(cfg, toBlock)
uninParams.push(_param)
topicsSet = new Set()
topicsSet.add(cfg.topic)
} else {
if (!topicsSet.has(cfg.topic)) {
_param.params[0].topics.push(cfg.topic)