client/network-gossip: Remove GossipEngine::abort method (#4552)

`GossipEngine::abort` and thus `ConsensusGossip::abort` are never
called. This patch removes both.
This commit is contained in:
Max Inden
2020-01-07 15:26:40 +01:00
committed by Robert Habermeier
parent bc9676737f
commit d76a33033d
2 changed files with 0 additions and 10 deletions
@@ -143,11 +143,6 @@ impl<B: BlockT> GossipEngine<B> {
gossip_engine
}
/// Closes all notification streams.
pub fn abort(&self) {
self.inner.lock().state_machine.abort();
}
pub fn report(&self, who: PeerId, reputation: ReputationChange) {
self.inner.lock().context.report_peer(who, reputation);
}