Additionally checking for seeds that are too short.

This commit is contained in:
clemahieu 2017-10-28 18:38:35 -05:00
commit 17375e0ae8

View file

@ -436,9 +436,9 @@ wallet (wallet_a)
{
show_line_error (*seed);
show_button_error (*import_seed);
if (seed->text ().toStdString ().size () > 64)
if (seed->text ().toStdString ().size () != 64)
{
import_seed->setText ("Incorrect seed. Max 64 characters allowed");
import_seed->setText ("Incorrect seed, length must be 64");
}
else
{