Deprecate MINIMUM_STAKE_DELEGATION (#24329)

This commit is contained in:
Brooks Prumo
2022-04-14 11:59:18 -05:00
committed by GitHub
parent d20b4c9958
commit 2456a7be35
3 changed files with 9 additions and 4 deletions

View File

@ -23,5 +23,6 @@ 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
}