From c12efd63edabb3ce25829ab619f40d6421cf09a2 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 20 Dec 2022 18:23:56 +0000 Subject: [PATCH] chore: comment unneeded xcm messages --- --- a/runtime/common/config/xcm/mod.rs +++ b/runtime/common/config/xcm/mod.rs @@ -179,15 +179,15 @@ // Check if deposit or transfer belongs to allowed parachains let mut allowed = allowed_locations.contains(origin); - message.0.iter().for_each(|inst| match inst { - DepositReserveAsset { dest: dst, .. } => { - allowed |= allowed_locations.contains(dst); - } - TransferReserveAsset { dest: dst, .. } => { - allowed |= allowed_locations.contains(dst); - } - _ => {} - }); + // message.0.iter().for_each(|inst| match inst { + // DepositReserveAsset { dest: dst, .. } => { + // allowed |= allowed_locations.contains(dst); + // } + // TransferReserveAsset { dest: dst, .. } => { + // allowed |= allowed_locations.contains(dst); + // } + // _ => {} + // }); if allowed { return Ok(()); -- gitstuff