git.delta.rocks / unique-network / refs/commits / 39f704107242

difftreelog

Revert "chore: comment unneeded xcm messages"

Daniel Shiposha2022-12-20parent: #c12efd6.patch.diff
in: master
This reverts commit 09f8017ff8d140cf2bc82c7defbf940ac9ef2a94.

1 file changed

modifiedruntime/common/config/xcm/mod.rsdiffbeforeafterboth
179 // Check if deposit or transfer belongs to allowed parachains179 // Check if deposit or transfer belongs to allowed parachains
180 let mut allowed = allowed_locations.contains(origin);180 let mut allowed = allowed_locations.contains(origin);
181181
182 // message.0.iter().for_each(|inst| match inst {182 message.0.iter().for_each(|inst| match inst {
183 // DepositReserveAsset { dest: dst, .. } => {183 DepositReserveAsset { dest: dst, .. } => {
184 // allowed |= allowed_locations.contains(dst);184 allowed |= allowed_locations.contains(dst);
185 // }185 }
186 // TransferReserveAsset { dest: dst, .. } => {186 TransferReserveAsset { dest: dst, .. } => {
187 // allowed |= allowed_locations.contains(dst);187 allowed |= allowed_locations.contains(dst);
188 // }188 }
189 // _ => {}189 _ => {}
190 // });190 });
191191
192 if allowed {192 if allowed {
193 return Ok(());193 return Ok(());