pub fn initiate_attempt<T: Config>(
lost: AccountIdLookupOf<T>,
friend_group_index: FriendGroupIndex,
)Expand description
Attempt to recover a lost account by a friend within the given friend group.
The initiator’s approval is recorded automatically, so they do not need to call
approve_attempt themselves.
Once an account has been recovered by a friend group, no friend group of equal or lower
priority can open a new attempt: it will fail with Error::HigherPriorityRecovered.
Only a strictly higher-priority group (lower numerical
FriendGroup::inheritance_priority) can take over the inheritor.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::initiate_attempt.