referrerpolicy=no-referrer-when-downgrade

Function xcm_emulator::get_public_from_string_or_panic

pub fn get_public_from_string_or_panic<TPublic>(
    s: &str,
) -> <<TPublic as CryptoType>::Pair as Pair>::Public
where TPublic: Public,
Expand description

Interprets the string s in order to generate a public key without password.

Function will panic when invalid string is provided.