From ff4d0cc519f7c55f37fb16cc6bb811ea817939a2 Mon Sep 17 00:00:00 2001 From: Julian Braha Date: Sun, 24 Mar 2024 03:45:12 +0000 Subject: [PATCH] Make quic field of P2PManager private (#2234) Make P2PManager.quic private --- core/src/p2p/manager.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/p2p/manager.rs b/core/src/p2p/manager.rs index 62043acfa..36f2c0163 100644 --- a/core/src/p2p/manager.rs +++ b/core/src/p2p/manager.rs @@ -40,8 +40,7 @@ use super::{P2PEvents, PeerMetadata}; pub struct P2PManager { pub(crate) p2p: Arc, mdns: Mutex>, - // TODO: Make private - pub quic: QuicTransport, + quic: QuicTransport, // The `libp2p::PeerId`. This is for debugging only, use `RemoteIdentity` instead. lp2p_peer_id: Libp2pPeerId, pub(crate) events: P2PEvents,