mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
WizardRestoreWallet1: fix "wallet name" check in keys mode
This commit is contained in:
parent
cb1f3ad0ce
commit
0a0dbf8853
1 changed files with 1 additions and 2 deletions
|
@ -48,8 +48,7 @@ Rectangle {
|
||||||
|
|
||||||
var valid = false;
|
var valid = false;
|
||||||
if(wizardController.walletRestoreMode === "keys") {
|
if(wizardController.walletRestoreMode === "keys") {
|
||||||
valid = wizardRestoreWallet1.verifyFromKeys();
|
return wizardWalletInput.verify() && wizardRestoreWallet1.verifyFromKeys();
|
||||||
return valid;
|
|
||||||
} else if(wizardController.walletRestoreMode === "seed") {
|
} else if(wizardController.walletRestoreMode === "seed") {
|
||||||
valid = wizardWalletInput.verify();
|
valid = wizardWalletInput.verify();
|
||||||
if(!valid) return false;
|
if(!valid) return false;
|
||||||
|
|
Loading…
Reference in a new issue