diff --git a/core/network/src/test/sync.rs b/core/network/src/test/sync.rs index 072099d6f7ff3..9868bd0ed2bd9 100644 --- a/core/network/src/test/sync.rs +++ b/core/network/src/test/sync.rs @@ -617,9 +617,9 @@ fn syncs_header_only_forks() { net.peer(1).push_blocks(4, false); net.block_until_sync(&mut runtime); - // Peer 1 won't sync the small fork because common block state is missing + // Peer 1 will sync the small fork even though common block state is missing assert_eq!(9, net.peer(0).blocks_count()); - assert_eq!(7, net.peer(1).blocks_count()); + assert_eq!(9, net.peer(1).blocks_count()); // Request explicit header-only sync request for the ancient fork. let first_peer_id = net.peer(0).id();