From bf2d0e4d24a688b35d8c7412c1f40c9538236efb Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 5 Aug 2025 22:45:56 +1000 Subject: [PATCH] Fix premature return from GetRequestablePieces iterator Was missed in earlier refactor --- webseed-requesting.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webseed-requesting.go b/webseed-requesting.go index d290d525..22d30160 100644 --- a/webseed-requesting.go +++ b/webseed-requesting.go @@ -384,8 +384,7 @@ func (cl *Client) iterPossibleWebseedRequests() iter.Seq2[webseedUniqueRequestKe return false } } - // Pieces iterated here are only to select webseed requests. There's no guarantee they're chosen. - return false + return true }, ) } -- 2.51.0