pallet_msa::pallet::dispatchables

Function approve_recovery_provider

Source
pub fn approve_recovery_provider<T: Config>(provider_key: T::AccountId)
Expand description

Approves a recovery provider via governance. Only governance can approve recovery providers.

§Events

§Errors

  • [DispatchError::BadOrigin] - Caller is not authorized to approve recovery providers.

§Warning: Doc-Only

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