Skip to content

Commit

Permalink
behavior fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erhant committed Aug 28, 2024
1 parent 819ec79 commit fce40f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p2p/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fn create_gossipsub_behavior(author: PeerId) -> gossipsub::Behaviour {

/// We accept permissive validation mode, meaning that we accept all messages
/// and check their fields based on whether they exist or not.
const VALIDATION_MODE: ValidationMode = ValidationMode::None;
const VALIDATION_MODE: ValidationMode = ValidationMode::Permissive;

/// Gossip cache TTL in seconds
const GOSSIP_TTL_SECS: u64 = 100;
Expand Down

0 comments on commit fce40f6

Please sign in to comment.