Skip to content

Commit

Permalink
Not returning on full
Browse files Browse the repository at this point in the history
  • Loading branch information
vusirikala committed Jun 18, 2024
1 parent 4dca189 commit 6c4e588
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions consensus/src/quorum_store/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,7 @@ impl ProofQueue {

while !iters.is_empty() {
iters.shuffle(&mut thread_rng());
full = false;
iters.retain_mut(|iter| {
if full {
return false;
}
if let Some((sort_key, batch)) = iter.next() {
if excluded_batches.contains(batch) {
excluded_txns += batch.num_txns();
Expand Down

0 comments on commit 6c4e588

Please sign in to comment.