From ca72d456624e807f82e96f9ceb22ec44cca5a132 Mon Sep 17 00:00:00 2001 From: Federico Gimenez Date: Thu, 28 Nov 2024 17:25:24 +0100 Subject: [PATCH] chore(engine): remove uneeded if (#12974) --- crates/engine/tree/src/tree/root.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/engine/tree/src/tree/root.rs b/crates/engine/tree/src/tree/root.rs index 09e48c4e6b08..2638f9deadc2 100644 --- a/crates/engine/tree/src/tree/root.rs +++ b/crates/engine/tree/src/tree/root.rs @@ -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 }