Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Sep 21, 2023
1 parent 223f9ef commit 9d2e481
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/tests/happy.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use consensus_engine::{AggregateQc, Block, Qc, View};
use consensus_engine::{Qc, View};
use fraction::{Fraction, One};
use futures::stream::{self, StreamExt};
use std::collections::HashSet;
Expand All @@ -13,7 +13,7 @@ struct Info {
view: View,
}

async fn happy_test(name: &'static str, nodes: Vec<NomosNode>) {
async fn happy_test(nodes: Vec<NomosNode>) {
let timeout = std::time::Duration::from_secs(20);
let timeout = tokio::time::sleep(timeout);
tokio::select! {
Expand Down Expand Up @@ -83,7 +83,7 @@ async fn two_nodes_happy() {
mixnet_topology,
})
.await;
happy_test("two_nodes", nodes).await;
happy_test(nodes).await;
}

#[tokio::test]
Expand All @@ -97,5 +97,5 @@ async fn ten_nodes_happy() {
mixnet_topology,
})
.await;
happy_test("ten_nodes", nodes).await;
happy_test(nodes).await;
}

0 comments on commit 9d2e481

Please sign in to comment.