Skip to content

Commit

Permalink
feature gate powf
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Coats committed Jan 11, 2024
1 parent e9e35d9 commit 714ed86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/src/types/block/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ impl ProtocolParameters {
}

/// Calculates the decay per epoch based on the annual decay factor and number of epochs in a year.
#[cfg(feature = "std")]
pub fn decay_per_epoch(&self) -> f64 {
self.mana_parameters()
.annual_decay_factor()
Expand Down

0 comments on commit 714ed86

Please sign in to comment.