Skip to content

Commit

Permalink
fix blockchain tree test
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Jul 11, 2023
1 parent c9c993b commit f750812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/blockchain-tree/src/blockchain_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ mod tests {
.assert(&tree);

// update canonical block to b2, this would make b2a be removed
assert_eq!(tree.restore_canonical_hashes(12), Ok(()));
assert_eq!(tree.restore_canonical_hashes_and_finalize(12), Ok(()));

assert_eq!(tree.is_block_known(block2.num_hash()).unwrap(), Some(BlockStatus::Valid));

Expand Down

0 comments on commit f750812

Please sign in to comment.