Skip to content

Commit

Permalink
Remove some unused stuff from tests/async
Browse files Browse the repository at this point in the history
  • Loading branch information
fjarri committed Oct 14, 2024
1 parent 3cea7d3 commit 336d89f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions example/tests/async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ async fn run_session<P>(
) -> Result<SessionReport<P, Verifier, Signature>, LocalError>
where
P: Protocol + 'static,
P::Digest: digest::Digest,
{
let rng = &mut OsRng;

Expand Down Expand Up @@ -152,7 +151,6 @@ async fn run_nodes<P>(
) -> Vec<SessionReport<P, Verifier, Signature>>
where
P: Protocol + Send + 'static,
P::Digest: digest::Digest,
P::Result: Send,
{
let num_parties = sessions.len();
Expand Down Expand Up @@ -218,7 +216,6 @@ async fn async_run() {
.finish()
.try_init()
.unwrap();
//tracing::subscriber::set_global_default(subscriber).unwrap();
//.set_default();

run_nodes(sessions).await;
}

0 comments on commit 336d89f

Please sign in to comment.