diff --git a/crates/subspace-networking/src/utils/piece_provider.rs b/crates/subspace-networking/src/utils/piece_provider.rs index 42b0451e24..5c5c877935 100644 --- a/crates/subspace-networking/src/utils/piece_provider.rs +++ b/crates/subspace-networking/src/utils/piece_provider.rs @@ -647,6 +647,10 @@ where if let Some(peers) = pieces_to_download.get_mut(&piece_index) { peers.extend(Vec::from(closest_peers)); } + + // No need to ask this peer again if they didn't have the piece we expected, or + // they claimed to have earlier + continue; } }