fn validate_delegated_amount(
account: &BorrowedAccount<'_>,
meta: &Meta,
feature_set: &FeatureSet
) -> Result<ValidatedDelegatedInfo, InstructionError>
Expand description
Ensure the stake delegation amount is valid. This checks that the account meets the minimum balance requirements of delegated stake. If not, return an error.