Skip to content
Snippets Groups Projects
Commit 1c0cb625 authored by Pierre Krieger's avatar Pierre Krieger Committed by Arkadiy Paronyan
Browse files

Remove deprecated methods from NetworkSpecialization (#553)

parent bd79b34b
Branches
No related merge requests found
......@@ -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<Block> for PolkadotProtocol {
}
}
fn on_event(&mut self, _event: Event) { }
fn on_abort(&mut self) { }
fn maintain_peers(&mut self, ctx: &mut dyn Context<Block>) {
self.collators.collect_garbage(None);
self.local_collations.collect_garbage(None);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment