core: grandpa: collect garbage for topic (#1780)

* core: grandpa: collect garbage for topic

* core: grandpa: use collect_garbage_for_topic in tests
This commit is contained in:
André Silva
2019-02-13 14:37:44 +00:00
committed by Gav Wood
parent 380d17d989
commit f8246ebcdf
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ impl MessageRouting {
fn drop_messages(&self, topic: Hash) {
let inner = self.inner.lock();
let peer = inner.peer(self.peer_id);
peer.consensus_gossip_collect_garbage_for(topic);
peer.consensus_gossip_collect_garbage_for_topic(topic);
}
}