mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
propagate round messages after verification (#2660)
This commit is contained in:
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) => {
|
||||
|
||||
Reference in New Issue
Block a user