From 0dab02bcccc361100d9823de83618419a534792a Mon Sep 17 00:00:00 2001 From: Brendon Fish Date: Wed, 13 Nov 2024 16:00:00 -0500 Subject: [PATCH] reduce epoch chain len by 1 --- 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 bb62bb0e10..831def9148 100644 --- a/crates/types/src/consensus.rs +++ b/crates/types/src/consensus.rs @@ -949,7 +949,7 @@ impl Consensus { let mut is_leaf_extended = true; if let Err(e) = self.visit_leaf_ancestors( leaf_view, - Terminator::Inclusive(leaf_view - 2), + Terminator::Inclusive(leaf_view - 1), true, |leaf, _, _| { tracing::trace!(