From 4c0c216162559ca1159301174a8bee2d00481b72 Mon Sep 17 00:00:00 2001 From: Marcus Pousette Date: Mon, 30 Dec 2024 21:46:48 +0100 Subject: [PATCH] chore: add comment --- packages/programs/data/shared-log/src/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/programs/data/shared-log/src/index.ts b/packages/programs/data/shared-log/src/index.ts index 398bdf9ea..8c10ae033 100644 --- a/packages/programs/data/shared-log/src/index.ts +++ b/packages/programs/data/shared-log/src/index.ts @@ -3391,9 +3391,10 @@ export class SharedLog< set = new Set(); this._requestIPruneSent.set(entry, set); } - /* if (set.has(to)) { - continue; - } */ + /* TODO why can we not have this statement? + if (set.has(to)) { + continue; + } */ set.add(to); filteredSet.push(entry); }