pub fn authorize<S: BuildHasher>(
vote_account: &mut BorrowedAccount<'_>,
authorized: &Pubkey,
vote_authorize: VoteAuthorize,
signers: &HashSet<Pubkey, S>,
clock: &Clock,
) -> Result<(), InstructionError>
Expand description
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