Function wildland_cargo_lib::api::user::check_phrase_mnemonic
source · pub fn check_phrase_mnemonic(phrase: &str) -> Result<(), CreateMnemonicError>
Expand description
Wrapper to check the mnemonic.
Accepts string. Returns Ok if the mnemonic is valid or Err otherwise
throws CreateMnemonicError
if the mnemonic is invalid