Function spl_stake_pool::stake_program::active_delegations_can_merge[][src]

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

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