mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Merge pull request #3169
cd3a0f85
Restore: display red border if invalid seed (rating89us)
This commit is contained in:
commit
f6196d48ab
1 changed files with 2 additions and 4 deletions
|
@ -50,10 +50,8 @@ Rectangle {
|
|||
if(wizardController.walletRestoreMode === "keys") {
|
||||
return wizardWalletInput.verify() && wizardRestoreWallet1.verifyFromKeys();
|
||||
} 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 a new issue