referrerpolicy=no-referrer-when-downgrade

Function ensure_personal_alias

Source
pub fn ensure_personal_alias<OuterOrigin>(
    o: OuterOrigin,
) -> Result<ContextualAlias, BadOrigin>
where OuterOrigin: TryInto<Origin, Error = OuterOrigin>,
Expand description

Ensure that the origin o represents an extrinsic (i.e. transaction) from a personal alias. Returns Ok with the personal alias that signed the extrinsic or an Err otherwise.