Skip to content

Commit 30cda2a

Browse files
authored
delete some misleading comments (#10253)
Those two comments just does not make any sense to me.
1 parent 7363600 commit 30cda2a

File tree

1 file changed

+0
-2
lines changed
  • polkadot/xcm/xcm-executor/src

1 file changed

+0
-2
lines changed

polkadot/xcm/xcm-executor/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,6 @@ impl<Config: config::Config> XcmExecutor<Config> {
10341034
},
10351035
// `fallback_max_weight` is not used in the executor, it's only for conversions.
10361036
Transact { origin_kind, mut call, .. } => {
1037-
// We assume that the Relay-chain is allowed to use transact on this parachain.
10381037
let origin = self.cloned_origin().ok_or_else(|| {
10391038
tracing::trace!(
10401039
target: "xcm::process_instruction::transact",
@@ -1044,7 +1043,6 @@ impl<Config: config::Config> XcmExecutor<Config> {
10441043
XcmError::BadOrigin
10451044
})?;
10461045

1047-
// TODO: #2841 #TRANSACTFILTER allow the trait to issue filters for the relay-chain
10481046
let message_call = call.take_decoded().map_err(|_| {
10491047
tracing::trace!(
10501048
target: "xcm::process_instruction::transact",

0 commit comments

Comments
 (0)