Function pallet_collator_selection::pallet::dispatchables::leave_intent
source · pub fn leave_intent<T: Config>()
Expand description
Deregister origin
as a collator candidate. Note that the collator can only leave on
session change. The CandidacyBond
will be unreserved immediately.
This call will fail if the total number of candidates would drop below
MinEligibleCollators
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::leave_intent
.