change logic of event catcher
This commit is contained in:
parent
1bcdd0879c
commit
51d1ffe77e
@ -66,6 +66,7 @@ export class EventBatchSvr {
|
|||||||
_param = this.buildQueryParams(cfg, toBlock)
|
_param = this.buildQueryParams(cfg, toBlock)
|
||||||
uninParams.push(_param)
|
uninParams.push(_param)
|
||||||
topicsSet = new Set()
|
topicsSet = new Set()
|
||||||
|
topicsSet.add(cfg.topic)
|
||||||
} else {
|
} else {
|
||||||
if (!topicsSet.has(cfg.topic)) {
|
if (!topicsSet.has(cfg.topic)) {
|
||||||
_param.params[0].topics.push(cfg.topic)
|
_param.params[0].topics.push(cfg.topic)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user