diff --git a/programs/stake/src/lib.rs b/programs/stake/src/lib.rs index 1041288fdb..65f83524ae 100644 --- a/programs/stake/src/lib.rs +++ b/programs/stake/src/lib.rs @@ -23,6 +23,5 @@ pub(crate) fn get_minimum_delegation(_feature_set: &FeatureSet) -> u64 { // If/when the minimum delegation amount is changed, the `feature_set` parameter will be used // to chose the correct value. And since the MINIMUM_STAKE_DELEGATION constant cannot be // removed, use it here as to not duplicate magic constants. - #[allow(deprecated)] solana_sdk::stake::MINIMUM_STAKE_DELEGATION } diff --git a/sdk/program/src/stake/mod.rs b/sdk/program/src/stake/mod.rs index 9552baea0f..87fc3f572f 100644 --- a/sdk/program/src/stake/mod.rs +++ b/sdk/program/src/stake/mod.rs @@ -6,8 +6,6 @@ pub mod program { crate::declare_id!("Stake11111111111111111111111111111111111111"); } -#[deprecated( - since = "1.10.6", - note = "This constant may be outdated, please use `solana_stake_program::get_minimum_delegation` instead" -)] +// NOTE: This constant will be deprecated soon; if possible, use +// `solana_stake_program::get_minimum_delegation()` instead. pub const MINIMUM_STAKE_DELEGATION: u64 = 1;