Remove NetworkSpecialization::on_event (#3976)

This commit is contained in:
Pierre Krieger
2019-10-31 16:38:53 +01:00
committed by Gavin Wood
parent 4264613a96
commit eb3c950cfe
4 changed files with 8 additions and 20 deletions
-4
View File
@@ -515,10 +515,6 @@ impl<B: BlockT, S: NetworkSpecialization<B>, H: ExHashT> Protocol<B, S, H> {
self.context_data.peers.iter().map(|(id, peer)| (id, &peer.info))
}
pub fn on_event(&mut self, event: Event) {
self.specialization.on_event(event);
}
pub fn on_custom_message(
&mut self,
who: PeerId,