solana_stake_program::stake_state

Function set_lockup

source
pub fn set_lockup(
    stake_account: &mut BorrowedAccount<'_>,
    lockup: &LockupArgs,
    signers: &HashSet<Pubkey>,
    clock: &Clock,
) -> Result<(), InstructionError>