Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh committed Nov 28, 2023
1 parent 048006f commit 2e32cc0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cumulus/parachains/runtimes/assets/common/src/matching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ impl<SelfParaId: Get<ParaId>> ContainsPair<MultiLocation, MultiLocation>

// here we check if sibling
match a {
MultiLocation { parents: 1, interior } => {
matches!(interior.first(), Some(Parachain(sibling_para_id)) if sibling_para_id.ne(&u32::from(SelfParaId::get())))
},
MultiLocation { parents: 1, interior } =>
matches!(interior.first(), Some(Parachain(sibling_para_id)) if sibling_para_id.ne(&u32::from(SelfParaId::get()))),
_ => false,
}
}
Expand Down

0 comments on commit 2e32cc0

Please sign in to comment.