fix(net): use continue instead of return in buffer_hashes loop (#22337)

This commit is contained in:
Forostovec
2026-02-19 04:46:33 +02:00
committed by GitHub
parent 5df22b12d8
commit c2e846093e

View File

@@ -381,7 +381,7 @@ impl<N: NetworkPrimitives> TransactionFetcher<N> {
let Some(TxFetchMetadata { retries, fallback_peers, .. }) =
self.hashes_fetch_inflight_and_pending_fetch.get(&hash)
else {
return
continue
};
if let Some(peer_id) = fallback_peer {