pub fn cleanup_candidacy<T: Config<I>, I: 'static>(
    candidate: T::AccountId,
    max: u32
Expand description

Remove up to max stale votes for the given candidate.

May be called by any Signed origin, but only after the candidate’s candidacy is ended.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::cleanup_candidacy.