feat(libp2p): remove deprecated mplex module

Pull-Request: #3920.
This commit is contained in:
Thomas Eizinger
2023-05-15 16:11:13 +02:00
committed by GitHub
parent 08f0b5e9c9
commit 0b209f71cc
11 changed files with 21 additions and 37 deletions

View File

@ -48,7 +48,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
let local_key = identity::Keypair::generate_ed25519();
let local_peer_id = PeerId::from(local_key.public());
// Set up a an encrypted DNS-enabled TCP Transport over the Mplex protocol
// Set up a an encrypted DNS-enabled TCP Transport over the yamux protocol
let transport = development_transport(local_key).await?;
// Create a swarm to manage peers and events.