difftreelog
chore comment unneeded xcm messages
in: master
1 file changed
runtime/common/config/xcm/mod.rsdiffbeforeafterboth179 // Check if deposit or transfer belongs to allowed parachains179 // Check if deposit or transfer belongs to allowed parachains180 let mut allowed = allowed_locations.contains(origin);180 let mut allowed = allowed_locations.contains(origin);181181182 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 // });191191192 if allowed {192 if allowed {193 return Ok(());193 return Ok(());