Skip to content

Commit 1c0f6d2

Browse files
committed
add check keys present for transfers + events filtered
1 parent 6277753 commit 1c0f6d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/crons/websocket/websocket.cron.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class WebsocketCronService implements OnModuleInit {
129129
}
130130

131131
async handleCustomDataUpdate() {
132-
if (this.connectionHandler.hasSubscriptionsWithPrefixes([TransactionsCustomGateway.keyPrefix]) === false) {
132+
if (this.connectionHandler.hasSubscriptionsWithPrefixes([TransactionsCustomGateway.keyPrefix, TransfersCustomGateway.keyPrefix, EventsCustomGateway.keyPrefix]) === false) {
133133
this.cacheService.deleteLocal(CacheInfo.WsTimestampMsToProcess().key);
134134
return;
135135
}

0 commit comments

Comments
 (0)