Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Formatting
  • Loading branch information
gavofyork committed Dec 6, 2021
commit 55da4eaef16c44967dfe3624fa74900a7c7df68e
3 changes: 3 additions & 0 deletions runtime/test-runtime/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ impl InvertLocation for InvertNothing {
fn invert_location(_: &MultiLocation) -> sp_std::result::Result<MultiLocation, ()> {
Ok(Here.into())
}
fn ancestry() -> MultiLocation {
Here.into()
}
}

pub struct XcmConfig;
Expand Down