diff --git a/base_layer/core/src/consensus/consensus_constants.rs b/base_layer/core/src/consensus/consensus_constants.rs index 471dfb44f8..09a7ab1ef3 100644 --- a/base_layer/core/src/consensus/consensus_constants.rs +++ b/base_layer/core/src/consensus/consensus_constants.rs @@ -142,7 +142,7 @@ impl ConsensusConstants { } /// This gets the emission curve values as (initial, decay, tail) - pub fn emission_amounts(&self) -> (MicroTari, &[u64], MicroTari) { + pub fn emission_amounts(&self) -> (MicroTari, &'static [u64], MicroTari) { (self.emission_initial, self.emission_decay, self.emission_tail) }