pub fn ensure_parachain<OuterOrigin>(o: OuterOrigin) -> Result<Id, BadOrigin>
where OuterOrigin: Into<Result<Origin, OuterOrigin>>,
Expand description

Ensure that the origin o represents a parachain. Returns Ok with the parachain ID that effected the extrinsic or an Err otherwise.