Add GetMinimumDelegation stake program instruction (#24020)
This commit is contained in:
@@ -6,7 +6,8 @@ pub mod program {
|
||||
crate::declare_id!("Stake11111111111111111111111111111111111111");
|
||||
}
|
||||
|
||||
/// The minimum stake amount that can be delegated, in lamports.
|
||||
/// NOTE: This is also used to calculate the minimum balance of a stake account, which is the
|
||||
/// rent exempt reserve _plus_ the minimum stake delegation.
|
||||
#[deprecated(
|
||||
since = "1.10.6",
|
||||
note = "This constant may be outdated, please use `solana_stake_program::get_minimum_delegation` instead"
|
||||
)]
|
||||
pub const MINIMUM_STAKE_DELEGATION: u64 = 1;
|
||||
|
Reference in New Issue
Block a user