From 1269b0610efb7bd86d92a909800f9330568c797a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Wed, 17 Apr 2024 10:44:26 +0800 Subject: [PATCH] test(chain): fix incorrect test case --- crates/chain/tests/test_local_chain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/chain/tests/test_local_chain.rs b/crates/chain/tests/test_local_chain.rs index e5ec74816..c331008db 100644 --- a/crates/chain/tests/test_local_chain.rs +++ b/crates/chain/tests/test_local_chain.rs @@ -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",