Skip to content

Commit fce40f6

Browse files
committed
behavior fix
1 parent 819ec79 commit fce40f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/p2p/behaviour.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn create_gossipsub_behavior(author: PeerId) -> gossipsub::Behaviour {
9393

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

9898
/// Gossip cache TTL in seconds
9999
const GOSSIP_TTL_SECS: u64 = 100;

0 commit comments

Comments
 (0)