Skip to content

Commit a9a60d0

Browse files
committed
fix: fix skip threshold to 2/3
1 parent cc23e9d commit a9a60d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ pub fn is_valid_skip(
285285
target_validator_set: TendermintValidatorSet,
286286
target_block_commit: Commit,
287287
) -> bool {
288-
let threshold = 1_f64 / 3_f64;
288+
let threshold = 2_f64 / 3_f64;
289289
let mut shared_voting_power = 0_u64;
290290
let target_block_total_voting_power = target_validator_set.total_voting_power().value();
291291
let start_block_validators = start_validator_set.validators();

0 commit comments

Comments
 (0)