referrerpolicy=no-referrer-when-downgrade

Function frame_system::ensure_none

source ·
pub fn ensure_none<OuterOrigin, AccountId>(
    o: OuterOrigin,
) -> Result<(), BadOrigin>
where OuterOrigin: Into<Result<RawOrigin<AccountId>, OuterOrigin>>,
Expand description

Ensure that the origin o represents an unsigned extrinsic. Returns Ok or an Err otherwise.