mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-19 13:37:13 +01:00
Restore: display red border if invalid seed
This commit is contained in:
parent
cb1f3ad0ce
commit
cd3a0f85a6
@ -51,10 +51,8 @@ Rectangle {
|
||||
valid = wizardRestoreWallet1.verifyFromKeys();
|
||||
return valid;
|
||||
} else if(wizardController.walletRestoreMode === "seed") {
|
||||
valid = wizardWalletInput.verify();
|
||||
if(!valid) return false;
|
||||
valid = Wizard.checkSeed(seedInput.text);
|
||||
return valid;
|
||||
seedInput.error = seedInput.text && !Wizard.checkSeed(seedInput.text);
|
||||
return wizardWalletInput.verify() && seedInput.text && Wizard.checkSeed(seedInput.text);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user