Skip to content

Commit

Permalink
Reset full to false after every iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
vusirikala committed Jun 17, 2024
1 parent 23567bc commit 4dca189
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/src/quorum_store/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4dca189

Please sign in to comment.