diff --git a/polkadot/network/src/legacy/mod.rs b/polkadot/network/src/legacy/mod.rs index 413a5d4b82..fe7018dfb0 100644 --- a/polkadot/network/src/legacy/mod.rs +++ b/polkadot/network/src/legacy/mod.rs @@ -34,7 +34,7 @@ use polkadot_primitives::parachain::{ ValidatorId, ErasureChunk, }; use sc_network::{ - PeerId, RequestId, Context, StatusMessage as GenericFullStatus, + PeerId, Context, StatusMessage as GenericFullStatus, specialization::NetworkSpecialization as Specialization, }; use sc_network_gossip::TopicNotification; @@ -54,6 +54,7 @@ use crate::{cost, benefit}; mod tests; type FullStatus = GenericFullStatus; +type RequestId = u64; /// Specialization of the network service for the polkadot protocol. pub type PolkadotNetworkService = sc_network::NetworkService;