Function validate_stake

Source
pub fn validate_stake(
    stake: Option<StakeDelegation>,
) -> Result<StakeDelegation, StakeError>
Expand description

Validates stake delegation. Stake must be known and positive.