Function solana_stake_program::stake_state::redelegate
source · pub fn redelegate(
invoke_context: &InvokeContext<'_>,
transaction_context: &TransactionContext,
instruction_context: &InstructionContext,
stake_account: &mut BorrowedAccount<'_>,
uninitialized_stake_account_index: usize,
vote_account_index: usize,
config: &Config,
signers: &HashSet<Pubkey>
) -> Result<(), InstructionError>