referrerpolicy=no-referrer-when-downgrade

Function set_recovered

Source
pub fn set_recovered<T: Config>(
    lost: AccountIdLookupOf<T>,
    rescuer: AccountIdLookupOf<T>,
)
Expand description

Allow ROOT to bypass the recovery process and set 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.