Skip to content

Commit

Permalink
chore(engine): remove uneeded if (#12974)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez authored Nov 28, 2024
1 parent 9f20ebc commit ca72d45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/engine/tree/src/tree/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ impl ProofSequencer {
}
}

if !consecutive_proofs.is_empty() {
self.next_to_deliver += consecutive_proofs.len() as u64;
}
self.next_to_deliver += consecutive_proofs.len() as u64;

consecutive_proofs
}
Expand Down

0 comments on commit ca72d45

Please sign in to comment.