mirror of
https://github.com/monero-project/monero.git
synced 2024-11-19 02:21:02 +00:00
Only INFO log for short seed words with ALLOW_SHORT_WORDS active
This commit is contained in:
parent
16c780d568
commit
e7f5845ce8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue