test(chain): fix incorrect test case
This commit is contained in:
parent
72fe65b65f
commit
1269b0610e
@ -672,9 +672,9 @@ fn local_chain_apply_header_connected_to() {
|
|||||||
|
|
||||||
let test_cases = [
|
let test_cases = [
|
||||||
{
|
{
|
||||||
let header = header_from_prev_blockhash(h!("A"));
|
let header = header_from_prev_blockhash(h!("_"));
|
||||||
let hash = header.block_hash();
|
let hash = header.block_hash();
|
||||||
let height = 2;
|
let height = 1;
|
||||||
let connected_to = BlockId { height, hash };
|
let connected_to = BlockId { height, hash };
|
||||||
TestCase {
|
TestCase {
|
||||||
name: "connected_to_self_header_applied_to_self",
|
name: "connected_to_self_header_applied_to_self",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user