Function polkadot_sdk_frame::prelude::frame_system::pallet_prelude::ensure_none
pub fn ensure_none<OuterOrigin, AccountId>(
o: OuterOrigin,
) -> Result<(), BadOrigin>
Expand description
Ensure that the origin o
represents an unsigned extrinsic. Returns Ok
or an Err
otherwise.