From 7d1091b66b9b7518069cd4248e443740deedad70 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 2 Oct 2023 14:46:19 -0300 Subject: [PATCH] fix a stupid bool. --- pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pool.go b/pool.go index 98f49f2..f6bd1ae 100644 --- a/pool.go +++ b/pool.go @@ -86,7 +86,7 @@ func (pool *SimplePool) subMany(ctx context.Context, urls []string, filters Filt } for evt := range sub.Events { - stop := true + stop := false if unique { _, stop = seenAlready.LoadOrStore(evt.ID, true) } @@ -160,7 +160,7 @@ func (pool *SimplePool) subManyEose(ctx context.Context, urls []string, filters return } - stop := true + stop := false if unique { _, stop = seenAlready.LoadOrStore(evt.ID, true) }