From 38dcac45b5056ca143f8f58b18f236592bac78ca Mon Sep 17 00:00:00 2001 From: draoi Date: Wed, 10 Apr 2024 09:53:26 +0200 Subject: [PATCH] p2p: remove more unused artifacts --- src/net/p2p.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/net/p2p.rs b/src/net/p2p.rs index f1d593caf..4cc03c65d 100644 --- a/src/net/p2p.rs +++ b/src/net/p2p.rs @@ -16,10 +16,7 @@ * along with this program. If not, see . */ -use std::{ - collections::{HashMap, HashSet}, - sync::Arc, -}; +use std::sync::Arc; use futures::{stream::FuturesUnordered, TryFutureExt}; use log::{debug, error, info, warn}; @@ -43,10 +40,6 @@ use crate::{ Result, }; -/// Set of channels that are awaiting connection -pub type PendingChannels = Mutex>; -/// Set of connected channels -pub type ConnectedChannels = Mutex>; /// Atomic pointer to the p2p interface pub type P2pPtr = Arc;