Skip to content

Commit

Permalink
fix incorrect const usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nonast committed Dec 23, 2023
1 parent 6f32a59 commit f6007c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/libra-framework/sources/ol_sources/grade.move
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module ol_framework::grade {
let net = proposed - failed;
let net_props_vs_leader= fixed_point32::create_from_rational(net,
highest_net_props);
fixed_point32::multiply_u64(100, net_props_vs_leader) > FAILED_PROPS_THRESHOLD_PCT
fixed_point32::multiply_u64(100, net_props_vs_leader) > TRAILING_VALIDATOR_THRESHOLD
} else { false }
}
}

0 comments on commit f6007c1

Please sign in to comment.