Skip to content

Commit bbd72e8

Browse files
committed
multiply not times
1 parent a67efca commit bbd72e8

File tree

1 file changed

+1
-1
lines changed
  • catalyst-toolbox/src/rewards/proposers

1 file changed

+1
-1
lines changed

catalyst-toolbox/src/rewards/proposers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn proposer_rewards(
5353
let proposals = filter_excluded_proposals(&proposals, &excluded_proposals);
5454

5555
let Value(total_stake) = calculate_total_stake_from_block0(&block0_config, &committee_keys);
56-
let total_stake_approval_threshold = total_stake_threshold + total_stake as f64;
56+
let total_stake_approval_threshold = total_stake_threshold * total_stake as f64;
5757

5858
let mut result = Vec::with_capacity(challenges.len());
5959

0 commit comments

Comments
 (0)