Skip to content

Commit

Permalink
Merge pull request #2456 from EspressoSystems/cl/lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mrain authored Jan 24, 2024
2 parents 64afa73 + 666d0e3 commit 4352ece
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions crates/task-impls/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, A: ConsensusApi<TYPES, I> +
let liveness_check = justify_qc.get_view_number() > consensus.locked_view;

let high_qc = consensus.high_qc.clone();
let locked_view = consensus.locked_view;

let locked_view = consensus.locked_view;

drop(consensus);

Expand Down
8 changes: 4 additions & 4 deletions crates/testing/tests/unreliable_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async fn libp2p_network_sync() {
.gen_launcher::<TestTypes, Libp2pImpl>(0)
.launch()
.run_test()
.await
.await;
}

#[cfg(test)]
Expand Down Expand Up @@ -122,7 +122,7 @@ async fn libp2p_network_async() {
.gen_launcher::<TestTypes, Libp2pImpl>(0)
.launch()
.run_test()
.await
.await;
}

#[cfg(test)]
Expand Down Expand Up @@ -260,7 +260,7 @@ async fn libp2p_network_partially_sync() {
.gen_launcher::<TestTypes, Libp2pImpl>(0)
.launch()
.run_test()
.await
.await;
}

#[cfg(test)]
Expand Down Expand Up @@ -339,5 +339,5 @@ async fn libp2p_network_chaos() {
.gen_launcher::<TestTypes, Libp2pImpl>(0)
.launch()
.run_test()
.await
.await;
}

0 comments on commit 4352ece

Please sign in to comment.