diff --git a/crates/task-impls/src/consensus.rs b/crates/task-impls/src/consensus.rs index e2848584c3..b2bb79f895 100644 --- a/crates/task-impls/src/consensus.rs +++ b/crates/task-impls/src/consensus.rs @@ -558,8 +558,7 @@ impl, A: ConsensusApi + 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); diff --git a/crates/testing/tests/unreliable_network.rs b/crates/testing/tests/unreliable_network.rs index c2e4a56249..e39ae11e98 100644 --- a/crates/testing/tests/unreliable_network.rs +++ b/crates/testing/tests/unreliable_network.rs @@ -44,7 +44,7 @@ async fn libp2p_network_sync() { .gen_launcher::(0) .launch() .run_test() - .await + .await; } #[cfg(test)] @@ -122,7 +122,7 @@ async fn libp2p_network_async() { .gen_launcher::(0) .launch() .run_test() - .await + .await; } #[cfg(test)] @@ -260,7 +260,7 @@ async fn libp2p_network_partially_sync() { .gen_launcher::(0) .launch() .run_test() - .await + .await; } #[cfg(test)] @@ -339,5 +339,5 @@ async fn libp2p_network_chaos() { .gen_launcher::(0) .launch() .run_test() - .await + .await; }