Skip to content

Commit

Permalink
Removes deprecated MINIMUM_STAKE_DELEGATION (anza-xyz#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Apr 22, 2024
1 parent b745dc9 commit 0f939c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions programs/stake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ pub fn get_minimum_delegation(feature_set: &FeatureSet) -> u64 {
const MINIMUM_DELEGATION_SOL: u64 = 1;
MINIMUM_DELEGATION_SOL * LAMPORTS_PER_SOL
} else {
#[allow(deprecated)]
solana_sdk::stake::MINIMUM_STAKE_DELEGATION
1
}
}
5 changes: 0 additions & 5 deletions sdk/program/src/stake/deprecated.rs

This file was deleted.

3 changes: 0 additions & 3 deletions sdk/program/src/stake/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ pub mod stake_flags;
pub mod state;
pub mod tools;

mod deprecated;
pub use deprecated::*;

pub mod program {
crate::declare_id!("Stake11111111111111111111111111111111111111");
}
Expand Down

0 comments on commit 0f939c1

Please sign in to comment.