[−][src]Function parity_wordlist::validate_phrase
pub fn validate_phrase(
phrase: &str,
expected_no_of_words: usize
) -> Result<(), Error>
Validates given phrase and checks if:
- All the words are coming from the dictionary.
- There are at least
expected_no_of_words
in the phrase.