Skip to content

Commit

Permalink
BlockQueue: report invalid blocks as Reject to gossipsub
Browse files Browse the repository at this point in the history
  • Loading branch information
styppo committed Feb 24, 2022
1 parent 72ce32c commit 094a065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/src/sync/block_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ impl<N: Network> Inner<N> {

if let Some(id) = pubsub_id {
self.network
.validate_message::<BlockTopic>(id.clone(), MsgAcceptance::Ignore);
.validate_message::<BlockTopic>(id.clone(), MsgAcceptance::Reject);
}

true
Expand Down

0 comments on commit 094a065

Please sign in to comment.