referrerpolicy=no-referrer-when-downgrade
pub fn deprecate_controller_batch<T: Config>(
    controllers: BoundedVec<T::AccountId, T::MaxControllersInDeprecationBatch>,
)
Expand description

Updates a batch of controller accounts to their corresponding stash account if they are not the same. Ignores any controller accounts that do not exist, and does not operate if the stash and controller are already the same.

Effects will be felt instantly (as soon as this function is completed successfully).

The dispatch origin must be T::AdminOrigin.

§Warning: Doc-Only

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