pub fn ensure_xcm<OuterOrigin>(o: OuterOrigin) -> Result<Location, BadOrigin>Expand description
Ensure that the origin o represents an XCM (Transact) origin.
Returns Ok with the location of the XCM sender or an Err otherwise.
pub fn ensure_xcm<OuterOrigin>(o: OuterOrigin) -> Result<Location, BadOrigin>Ensure that the origin o represents an XCM (Transact) origin.
Returns Ok with the location of the XCM sender or an Err otherwise.