Skip to content

Commit

Permalink
Update block_request_handler.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
luqz authored Aug 24, 2024
1 parent 97cb945 commit 77bcdb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/client/network/sync/src/block_request_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ mod rep {
use sc_network::ReputationChange as Rep;

/// Reputation change when a peer sent us the same request multiple times.
pub const SAME_REQUEST: Rep = Rep::new_fatal("Same block request multiple times");
pub const SAME_REQUEST: Rep = Rep::new(-(1 << 25), "Same block request multiple times");

/// Reputation change when a peer sent us the same "small" request multiple times.
pub const SAME_SMALL_REQUEST: Rep =
Expand Down

0 comments on commit 77bcdb0

Please sign in to comment.