pub fn validate_stake(
stake: Option<StakeDelegation>,
) -> Result<StakeDelegation, StakeError>
Expand description
Validates stake delegation. Stake must be known and positive.
pub fn validate_stake(
stake: Option<StakeDelegation>,
) -> Result<StakeDelegation, StakeError>
Validates stake delegation. Stake must be known and positive.