Function ensure_authorized
pub fn ensure_authorized<OuterOrigin, AccountId>(
o: OuterOrigin,
) -> Result<(), BadOrigin>Expand description
Ensure that the origin o represents an extrinsic with authorized call. Returns Ok or an
Err otherwise.