Only INFO log for short seed words with ALLOW_SHORT_WORDS active

pull/434/head
rbrunner7 3 years ago committed by wowario
parent 117cd32ec1
commit a56c95f4b9
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -129,7 +129,7 @@ namespace Language
if ((*it).size() < unique_prefix_length)
{
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
throw std::runtime_error("Too short word in " + language_name + " word list: " + *it);
}

Loading…
Cancel
Save