solana_program::vote::instruction

Function vote

Source
pub fn vote(
    vote_pubkey: &Pubkey,
    authorized_voter_pubkey: &Pubkey,
    vote: Vote,
) -> Instruction