mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 01:41:03 +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 {
|
match action {
|
||||||
Action::Keep(topic, cb) => {
|
Action::Keep(topic, cb) => {
|
||||||
self.report(who.clone(), cb);
|
self.report(who.clone(), cb);
|
||||||
|
context.broadcast_message(topic, data.to_vec(), false);
|
||||||
network_gossip::ValidationResult::ProcessAndKeep(topic)
|
network_gossip::ValidationResult::ProcessAndKeep(topic)
|
||||||
}
|
}
|
||||||
Action::ProcessAndDiscard(topic, cb) => {
|
Action::ProcessAndDiscard(topic, cb) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user