diff --git a/polkadot/node/service/src/lib.rs b/polkadot/node/service/src/lib.rs index c299337323..c48ae9ea2f 100644 --- a/polkadot/node/service/src/lib.rs +++ b/polkadot/node/service/src/lib.rs @@ -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, ) -> Result< ( diff --git a/polkadot/runtime/common/src/paras_registrar.rs b/polkadot/runtime/common/src/paras_registrar.rs index 8c080286ac..284decff46 100644 --- a/polkadot/runtime/common/src/paras_registrar.rs +++ b/polkadot/runtime/common/src/paras_registrar.rs @@ -433,12 +433,12 @@ impl Registrar for Pallet { // Apply a lock to the parachain. fn apply_lock(id: ParaId) { - Paras::::mutate(id, |x| x.as_mut().map(|mut info| info.locked = true)); + Paras::::mutate(id, |x| x.as_mut().map(|info| info.locked = true)); } // Remove a lock from the parachain. fn remove_lock(id: ParaId) { - Paras::::mutate(id, |x| x.as_mut().map(|mut info| info.locked = false)); + Paras::::mutate(id, |x| x.as_mut().map(|info| info.locked = false)); } // Register a Para ID under control of `manager`.