diff --git a/protocols/rendezvous/tests/harness.rs b/protocols/rendezvous/tests/harness.rs index 3602d666c0f..8786d61c2f1 100644 --- a/protocols/rendezvous/tests/harness.rs +++ b/protocols/rendezvous/tests/harness.rs @@ -57,7 +57,6 @@ where MplexConfig::new(), )) .timeout(Duration::from_secs(5)) - .map(|(peer, muxer), _| (peer, StreamMuxerBox::new(muxer))) .boxed(); SwarmBuilder::new(transport, behaviour_fn(peer_id, identity), peer_id)