From c9d313ed2eed948d19c1467eaa1b57c083e9973e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Zwoli=C5=84ski?= Date: Wed, 28 Feb 2024 21:21:27 +0100 Subject: [PATCH] imports reorg --- node/src/p2p.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/node/src/p2p.rs b/node/src/p2p.rs index d055ff461..7a5fa3915 100644 --- a/node/src/p2p.rs +++ b/node/src/p2p.rs @@ -55,6 +55,7 @@ mod header_session; pub(crate) mod shwap; mod swarm; +use crate::executor::{self, spawn, Interval}; use crate::p2p::header_ex::{HeaderExBehaviour, HeaderExConfig}; use crate::p2p::header_session::HeaderSession; use crate::p2p::shwap::{namespaced_data_cid, row_cid, sample_cid, ShwapMultihasher}; @@ -63,12 +64,8 @@ use crate::peer_tracker::PeerTracker; use crate::peer_tracker::PeerTrackerInfo; use crate::store::Store; use crate::utils::{ - celestia_protocol_id, gossipsub_ident_topic, MultiaddrExt, OneshotResultSender, - OneshotResultSenderExt, OneshotSenderExt, -}; -use crate::{ - executor::{self, spawn, Interval}, - utils::fraudsub_ident_topic, + celestia_protocol_id, fraudsub_ident_topic, gossipsub_ident_topic, MultiaddrExt, + OneshotResultSender, OneshotResultSenderExt, OneshotSenderExt, }; pub use crate::p2p::header_ex::HeaderExError;