Skip to content

Commit

Permalink
test(chain): fix incorrect test case
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlinjin committed Apr 17, 2024
1 parent 72fe65b commit 1269b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/chain/tests/test_local_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,9 @@ fn local_chain_apply_header_connected_to() {

let test_cases = [
{
let header = header_from_prev_blockhash(h!("A"));
let header = header_from_prev_blockhash(h!("_"));
let hash = header.block_hash();
let height = 2;
let height = 1;
let connected_to = BlockId { height, hash };
TestCase {
name: "connected_to_self_header_applied_to_self",
Expand Down

0 comments on commit 1269b06

Please sign in to comment.