Skip to content

Commit

Permalink
fix a stupid bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Oct 2, 2023
1 parent e45921c commit 7d1091b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 7d1091b

Please sign in to comment.