Skip to content

Commit

Permalink
Update contracts/gauges/gauge/src/state.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 a2587a1 commit f347ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/gauges/gauge/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Gauge {
.map(|r| r.last == Some(r.next))
.unwrap_or_default()
}
// Helper checks if the epoch count equals the total # of epochs
/// Helper checks if the epoch count equals the total # of epochs
pub fn will_reach_epoch_limit(&self) -> bool {
if let Some(total) = self.total_epoch {
total == self.count.unwrap_or_default()
Expand Down

0 comments on commit f347ed8

Please sign in to comment.