Function pallet_collator_selection::pallet::dispatchables::kick_candidate
source · pub fn kick_candidate<T: Config>(who: T::AccountId)
Expand description
Forcibly remove a candidate from the active set.
This will immediately remove the candidate from the candidates list and
unbond their deposit after slashing it accordigly to SlashRatio
.
This call will fail if removing the candidate would bring the total number of candidates below the minimum threshold.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::kick_candidate
.