Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix nightly warnings (#7347)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilescope authored Jun 11, 2023
1 parent b6576d1 commit ee8aa32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ macro_rules! chain_ops {
/// Builds a new object suitable for chain operations.
#[cfg(feature = "full-node")]
pub fn new_chain_ops(
mut config: &mut Configuration,
config: &mut Configuration,
jaeger_agent: Option<std::net::SocketAddr>,
) -> Result<
(
Expand Down
4 changes: 2 additions & 2 deletions runtime/common/src/paras_registrar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit ee8aa32

Please sign in to comment.