Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update recovery/src/lib.rs
  • Loading branch information
Doordashcon committed Nov 17, 2021
commit 3c524b5b37414cd22c95b5fa2bbccdca61cd380f
4 changes: 2 additions & 2 deletions frame/recovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ pub mod pallet {
#[pallet::generate_deposit(pub(super) fn deposit_event)]
pub enum Event<T: Config> {
/// A recovery process has been set up for an account.
RecoveryCreated { lost_account: T::AccountId },
RecoveryCreated { account: T::AccountId },
/// A recovery process has been initiated for lost account by rescuer account.
RecoveryInitiated { lost_account: T::AccountId, rescuer_account: T::AccountId },
/// A recovery process for lost account by rescuer account has been vouched for by sender.
Expand Down Expand Up @@ -475,7 +475,7 @@ pub mod pallet {
// Create the recovery configuration storage item
<Recoverable<T>>::insert(&who, recovery_config);

Self::deposit_event(Event::<T>::RecoveryCreated { lost_account: who });
Self::deposit_event(Event::<T>::RecoveryCreated { account: who });
Ok(())
}

Expand Down