Skip to content

Commit

Permalink
Update contracts/gauges/gauge/src/contract.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jake Hartnell <[email protected]>
  • Loading branch information
hard-nett and JakeHartnell authored Aug 15, 2024
1 parent a5f3b53 commit a2587a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/gauges/gauge/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ mod execute {
let e = gauge.gauge_epoch()?;
ensure!(e < epoch_limit, ContractError::EpochLimitTooShort {})
}
// min_perfect_selected percent must be less than 100%. None if 0.
// min_percent_selected percent must be less than 100%. None if 0.
if let Some(min_percent_selected) = min_percent_selected {
if min_percent_selected.is_zero() {
gauge.min_percent_selected = None
Expand Down

0 comments on commit a2587a1

Please sign in to comment.