solana_vote_program::vote_instruction

Function vote

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