pub fn withdraw<S: BuildHasher>(
    vote_account: &KeyedAccount<'_>,
    lamports: u64,
    to_account: &KeyedAccount<'_>,
    signers: &HashSet<Pubkey, S>,
    rent_sysvar: Option<&Rent>,
    clock: Option<&Clock>
) -> Result<(), InstructionError>
Expand description

Withdraw funds from the vote account