pub fn withdraw<S: BuildHasher>(
transaction_context: &TransactionContext,
instruction_context: &InstructionContext,
vote_account_index: IndexOfAccount,
lamports: u64,
to_account_index: IndexOfAccount,
signers: &HashSet<Pubkey, S>,
rent_sysvar: &Rent,
clock: &Clock,
feature_set: &FeatureSet,
) -> Result<(), InstructionError>
Expand description
Withdraw funds from the vote account