referrerpolicy=no-referrer-when-downgrade

Function pallet_recovery::pallet::dispatchables::set_recovered

source ·
pub fn set_recovered<T: Config>(
    lost: <<T as Config>::Lookup as StaticLookup>::Source,
    rescuer: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description

Allow ROOT to bypass the recovery process and set an a rescuer account for a lost account directly.

The dispatch origin for this call must be ROOT.

Parameters:

  • lost: The “lost account” to be recovered.
  • rescuer: The “rescuer account” which can call as the lost account.

§Warning: Doc-Only

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