Function solana_vote_program::vote_state::update_commission
source · [−]pub fn update_commission<S: BuildHasher>(
invoke_context: &InvokeContext<'_>,
instruction_context: &InstructionContext,
signers: &HashSet<Pubkey, S>,
vote_account_index: usize,
commission: u8
) -> Result<(), InstructionError>
Expand description
Update the vote account’s commission