pub fn ensure_parachain<OuterOrigin>(o: OuterOrigin) -> Result<Id, BadOrigin>Expand description
Ensure that the origin o represents a parachain.
Returns Ok with the parachain ID that effected the extrinsic or an Err otherwise.
pub fn ensure_parachain<OuterOrigin>(o: OuterOrigin) -> Result<Id, BadOrigin>Ensure that the origin o represents a parachain.
Returns Ok with the parachain ID that effected the extrinsic or an Err otherwise.