diff --git a/network/src/tests/peer_registry.rs b/network/src/tests/peer_registry.rs index 88166fb9a3..99f6dd8686 100644 --- a/network/src/tests/peer_registry.rs +++ b/network/src/tests/peer_registry.rs @@ -191,7 +191,7 @@ fn test_accept_inbound_peer_eviction() { peer.connected_time = now - Duration::from_secs(10); }; } - // thoses peers will not be protect, we add them to evict_targets + // these peers will not be protect, we add them to evict_targets for _ in 0..longest_connection_time_peers_count { let peer_addr = peers_iter.next().unwrap(); let peer_id = extract_peer_id(peer_addr).unwrap(); diff --git a/test/src/specs/sync/sync_churn.rs b/test/src/specs/sync/sync_churn.rs index 0fc201f1f7..554f580ef6 100644 --- a/test/src/specs/sync/sync_churn.rs +++ b/test/src/specs/sync/sync_churn.rs @@ -52,7 +52,7 @@ impl Spec for SyncChurn { let mining_node = select_random_node(&mut rng, &mut mining_nodes); mining_node.mine(1); // Because the test that waiting for nodes to sync has a implicit maximum waiting time - // (currently 60 seconds, we can sync about 200 blocks per second, so a maxium blocks of 10000 is reasonable) + // (currently 60 seconds, we can sync about 200 blocks per second, so a maximum blocks of 10000 is reasonable) // and the implicit waiting time is not long enough when there are too many blocks to sync, // so we stop mining when the tip block number is greater than 15000. // Otherwise nodes may not be able to sync within the implicit waiting time.