Additionally checking for seeds that are too short.
This commit is contained in:
parent
968a9d74a5
commit
17375e0ae8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue