solana_vote_program::vote_state

Function is_commission_increase

Source
pub fn is_commission_increase(vote_state: &VoteState, commission: u8) -> bool
Expand description

Given a proposed new commission, returns true if this would be a commission increase, false otherwise