propagate round messages after verification (#2660)

This commit is contained in:
Robert Habermeier
2019-05-22 18:01:36 +02:00
committed by GitHub
parent 0089ad4040
commit 36987c0205
@@ -690,6 +690,7 @@ impl<Block: BlockT> network_gossip::Validator<Block> for GossipValidator<Block>
match action {
Action::Keep(topic, cb) => {
self.report(who.clone(), cb);
context.broadcast_message(topic, data.to_vec(), false);
network_gossip::ValidationResult::ProcessAndKeep(topic)
}
Action::ProcessAndDiscard(topic, cb) => {