pub fn ensure_sibling_para<OuterOrigin>(
o: OuterOrigin,
) -> Result<ParaId, BadOrigin>Expand description
Ensure that the origin o represents a sibling parachain.
Returns Ok with the parachain ID of the sibling or an Err otherwise.
pub fn ensure_sibling_para<OuterOrigin>(
o: OuterOrigin,
) -> Result<ParaId, BadOrigin>Ensure that the origin o represents a sibling parachain.
Returns Ok with the parachain ID of the sibling or an Err otherwise.