Skip to content

Commit

Permalink
reduce epoch chain len by 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bfish713 committed Nov 13, 2024
1 parent eb16075 commit 0dab02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/types/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ impl<TYPES: NodeType> Consensus<TYPES> {
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!(
Expand Down

0 comments on commit 0dab02b

Please sign in to comment.