git.delta.rocks / unique-network / refs/commits / c12efd63edab

difftreelog

chore comment unneeded xcm messages

Daniel Shiposha2022-12-20parent: #16d9075.patch.diff
in: master

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(());