test(chain): fix incorrect test case

This commit is contained in:
志宇 committed 2024-04-17 10:45:19 +08:00
1 parent 72fe65b65f
commit 1269b0610e
1 file changed
+2 -2
+2 -2
View File
@@ -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",