fix up to date match condition

This commit is contained in:
yggverse 2025-07-08 14:44:56 +03:00
parent 3377baad75
commit 8a58dfdf13

View file

@ -189,7 +189,7 @@ impl TorrentMaps {
if l != L {
break;
}
if info_hashes.iter().any(|i| i.0 != b[..l]) {
if !info_hashes.iter().any(|i| i.0 == b[..l]) {
return Ok(false);
}
t += 1