Function spl_stake_pool::stake_program::active_stakes_can_merge[][src]

pub fn active_stakes_can_merge(
    stake: &Stake,
    source: &Stake
) -> Result<(), ProgramError>
Expand description

FIXME copied from stake program Checks if two active stakes are mergeable, required since we cannot recover from a CPI error.