pub fn recover_account<T: Config>(
    intermediary_hash_a: RecoveryHash,
    intermediary_hash_b: RecoveryHash,
    new_control_key_proof: MultiSignature,
    add_key_payload: AddKeyData<T>,
)Expand description
Recover an MSA account with a new control key. This extrinsic is called by approved Recovery Providers after verifying the user’s Recovery Intermediary Hashes and Authentication Contact.
§Events
§Errors
- Error::NotAuthorizedRecoveryProvider- Caller is not an approved Recovery Provider.
- Error::ProviderNotRegistered- Recovery Provider is not registered.
- Error::NoRecoveryCommitment- No Recovery Commitment exists for the MSA.
- Error::InvalidRecoveryCommitment- Recovery Commitment does not match.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::recover_account.