fix nightly warnings (#7347)

This commit is contained in:
Squirrel authored and GitHub committed 2023-06-11 19:58:42 +00:00
1 parent 23adb35183
commit d90173e438
2 files changed
+3 -3

No files matched your search

@@ -433,12 +433,12 @@ impl<T: Config> Registrar for Pallet<T> {
// Apply a lock to the parachain.
fn apply_lock(id: ParaId) {
Paras::<T>::mutate(id, |x| x.as_mut().map(|mut info| info.locked = true));
Paras::<T>::mutate(id, |x| x.as_mut().map(|info| info.locked = true));
}
// Remove a lock from the parachain.
fn remove_lock(id: ParaId) {
Paras::<T>::mutate(id, |x| x.as_mut().map(|mut info| info.locked = false));
Paras::<T>::mutate(id, |x| x.as_mut().map(|info| info.locked = false));
}
// Register a Para ID under control of `manager`.