Function solana_vote_program::vote_state::withdraw

source ยท
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