Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Dec 3, 2024
1 parent 175539f commit aedaf3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sharechain/p2chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ impl P2Chain {
.level_at_height(current_counting_block.height)
.ok_or(ShareChainError::BlockLevelNotFound)?;
if level.chain_block == current_counting_block.hash {
counter = self.share_window;
break;
}
// we can unwrap as we now the parent exists
Expand Down

0 comments on commit aedaf3c

Please sign in to comment.