Only INFO log for short seed words with ALLOW_SHORT_WORDS active

This commit is contained in:
rbrunner7 2021-01-03 11:04:53 +01:00 committed by selsta
parent 14df8ad7a6
commit e2c802f6b2
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E
1 changed files with 1 additions and 1 deletions

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);
} }