From 524b63d0de79fa0170038d73fa1097288e30e8a5 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 24 Nov 2026 21:56:10 -0500 Subject: [PATCH] verify only full piece --- libi2pd_client/Torrents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd_client/Torrents.cpp b/libi2pd_client/Torrents.cpp index c7dc2bb4..1726f227 100644 --- a/libi2pd_client/Torrents.cpp +++ b/libi2pd_client/Torrents.cpp @@ -1497,7 +1497,7 @@ namespace torrents pieceFailed = true; remainingLen -= len; nextPieceOffset += len; - if (nextPieceOffset == m_PieceLength || !remainingLen) + if (nextPieceOffset == m_Pieces[m_NumPiecesChecked].GetSize ()) { // piece complete if (verifyPiece)