diff --git a/polkadot/network/src/lib.rs b/polkadot/network/src/lib.rs index 0e54fdade7..750fcb12e3 100644 --- a/polkadot/network/src/lib.rs +++ b/polkadot/network/src/lib.rs @@ -36,7 +36,7 @@ use polkadot_primitives::parachain::{ }; use substrate_network::{ PeerId, RequestId, Context, StatusMessage as GenericFullStatus, - specialization::{Event, NetworkSpecialization as Specialization}, + specialization::NetworkSpecialization as Specialization, }; use substrate_network::consensus_gossip::{ self, TopicNotification, MessageRecipient as GossipMessageRecipient, ConsensusMessage, @@ -694,10 +694,6 @@ impl Specialization for PolkadotProtocol { } } - fn on_event(&mut self, _event: Event) { } - - fn on_abort(&mut self) { } - fn maintain_peers(&mut self, ctx: &mut dyn Context) { self.collators.collect_garbage(None); self.local_collations.collect_garbage(None);