pub fn ensure_personal_identity<OuterOrigin>(
o: OuterOrigin,
) -> Result<PersonalId, BadOrigin>
Expand description
Ensure that the origin o
represents an extrinsic (i.e. transaction) from a personal
identity. Returns Ok
with the personal identity that signed the extrinsic or an Err
otherwise.