Skip to content

Commit

Permalink
fixes test panic
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Apr 11, 2023
1 parent 6bf2e28 commit 86ec19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-consensus/src/checkpoint/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ async fn wrong_checkpoint_hash_fail() -> Result<(), Report> {
// Change the header hash
let mut bad_block0 = good_block0.clone();
let bad_block0_mut = Arc::make_mut(&mut bad_block0);
Arc::make_mut(&mut bad_block0_mut.header).version = 0;
Arc::make_mut(&mut bad_block0_mut.header).version = 5;

// Make a checkpoint list containing the genesis block checkpoint
let genesis_checkpoint_list: BTreeMap<block::Height, block::Hash> =
Expand Down

0 comments on commit 86ec19b

Please sign in to comment.