From 4dca189fe677ef2ec6b1a71b30d784bde55686d5 Mon Sep 17 00:00:00 2001 From: Satya Vusirikala Date: Mon, 17 Jun 2024 11:35:46 -0700 Subject: [PATCH] Reset full to false after every iteration --- consensus/src/quorum_store/utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/src/quorum_store/utils.rs b/consensus/src/quorum_store/utils.rs index bc2cc951883c1..8335c9be94518 100644 --- a/consensus/src/quorum_store/utils.rs +++ b/consensus/src/quorum_store/utils.rs @@ -299,6 +299,7 @@ impl ProofQueue { while !iters.is_empty() { iters.shuffle(&mut thread_rng()); + full = false; iters.retain_mut(|iter| { if full { return false;