From 1ffa46160195e8c0009e8341ac9f78fa0669f38e Mon Sep 17 00:00:00 2001 From: lukaszrzasik Date: Thu, 21 Nov 2024 15:25:49 +0100 Subject: [PATCH] Fix accidentally pulled bug in eQC rule (#3904) --- crates/types/src/consensus.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/types/src/consensus.rs b/crates/types/src/consensus.rs index 648f045619..a27220a7ed 100644 --- a/crates/types/src/consensus.rs +++ b/crates/types/src/consensus.rs @@ -954,7 +954,7 @@ impl Consensus { let mut is_leaf_extended = true; if let Err(e) = self.visit_leaf_ancestors( leaf_view, - Terminator::Inclusive(leaf_view - 1), + Terminator::Inclusive(leaf_view - 2), true, |leaf, _, _| { tracing::trace!(