[−][src]Function solana_vote_api::vote_state::authorize
pub fn authorize(
vote_account: &mut KeyedAccount,
other_signers: &[KeyedAccount],
authorized: &Pubkey,
vote_authorize: VoteAuthorize
) -> Result<(), InstructionError>
Authorize the given pubkey to withdraw or sign votes. This may be called multiple times, but will implicitly withdraw authorization from the previously authorized key