Function solana_vote_program::vote_state::withdraw
source · [−]pub fn withdraw<S: BuildHasher>(
invoke_context: &InvokeContext<'_>,
instruction_context: &InstructionContext,
signers: &HashSet<Pubkey, S>,
vote_account_index: usize,
recipient_account_index: usize,
lamports: u64
) -> Result<(), InstructionError>
Expand description
Withdraw funds from the vote account