Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
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
  • Loading branch information
Doordashcon committed Nov 13, 2021
commit 19abcb3b51160feed8654ee9c38f646c7f10cff7
6 changes: 3 additions & 3 deletions frame/recovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ pub mod pallet {
ensure_root(origin)?;
// Create the recovery storage item.
<Proxy<T>>::insert(&rescuer, &lost);
Self::deposit_event(Event::<T>::AccountRecovered { lost, rescuer });
Self::deposit_event(Event::<T>::AccountRecovered { lost: lost, rescuer: rescuer });
Ok(())
}

Expand Down Expand Up @@ -564,7 +564,7 @@ pub mod pallet {
}
// Update storage with the latest details
<ActiveRecoveries<T>>::insert(&lost, &rescuer, active_recovery);
Self::deposit_event(Event::<T>::RecoveryVouched { lost, rescuer, sender: who });
Self::deposit_event(Event::<T>::RecoveryVouched { lost: lost, rescuer: rescuer, sender: who });
Ok(())
}

Expand Down Expand Up @@ -652,7 +652,7 @@ pub mod pallet {
BalanceStatus::Free,
);
debug_assert!(res.is_ok());
Self::deposit_event(Event::<T>::RecoveryClosed { lost: who, rescuer });
Self::deposit_event(Event::<T>::RecoveryClosed { lost: who, rescuer: rescuer });
Ok(())
}

Expand Down
2 changes: 1 addition & 1 deletion frame/session/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ impl<T: Config> Pallet<T> {
<QueuedChanged<T>>::put(next_changed);

// Record that this happened.
Self::deposit_event(Event::NewSession { session_index });
Self::deposit_event(Event::NewSession { session_index: session_index });

// Tell everyone about the new session keys.
T::SessionHandler::on_new_session::<T::Keys>(changed, &session_keys, &queued_amalgamated);
Expand Down