mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-12-05 02:44:36 +00:00
verify only full piece
This commit is contained in:
1 parent
dc10909f18
commit
524b63d0de
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user