Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Oct 25, 2023
1 parent 951317b commit 7d0fd79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion massa-pos-exports/src/pos_final_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,7 @@ impl PoSFinalState {
}
}

/// Helpers for test-exports
/// Helpers for testing
#[cfg(feature = "test-exports")]
impl PoSFinalState {
/// Queries all the deferred credits in the database
Expand Down
2 changes: 2 additions & 0 deletions massa-protocol-worker/src/tests/ban_nodes_scenarios.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ fn test_protocol_bans_node_sending_block_header_with_invalid_signature() {
))),
);
ban_breakpoint.wait();

// After `unban_everyone_timer` the node should be unbanned
unban_breakpoint.wait();
}

Expand Down
2 changes: 1 addition & 1 deletion massa-versioning/src/versioning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ mod test {
timeout: MassaTime::from_millis(5),
activation_delay: MassaTime::from_millis(2),
};
// Another versioning info (from an attacker) for test-exports
// Another versioning info (from an attacker) for testing
let vi_2 = MipInfo {
name: "MIP-0002".to_string(),
version: 2,
Expand Down

0 comments on commit 7d0fd79

Please sign in to comment.