Merge pull request #7273

e7f5845 Only INFO log for short seed words with ALLOW_SHORT_WORDS active (rbrunner7)
This commit is contained in:
luigi1111 2021-02-15 21:47:55 -05:00
commit 080358ebef
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -129,7 +129,7 @@ namespace Language
if ((*it).size() < unique_prefix_length) if ((*it).size() < unique_prefix_length)
{ {
if (flags & ALLOW_SHORT_WORDS) if (flags & ALLOW_SHORT_WORDS)
MWARNING(language_name << " word '" << *it << "' is shorter than its prefix length, " << unique_prefix_length); MINFO(language_name << " word '" << *it << "' is shorter than its prefix length, " << unique_prefix_length);
else else
throw std::runtime_error("Too short word in " + language_name + " word list: " + *it); throw std::runtime_error("Too short word in " + language_name + " word list: " + *it);
} }