WizardRestoreWallet1: fix "wallet name" check in keys mode

This commit is contained in:
selsta 2020-10-17 20:23:29 +02:00
parent cb1f3ad0ce
commit 0a0dbf8853
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -48,8 +48,7 @@ Rectangle {
var valid = false;
if(wizardController.walletRestoreMode === "keys") {
valid = wizardRestoreWallet1.verifyFromKeys();
return valid;
return wizardWalletInput.verify() && wizardRestoreWallet1.verifyFromKeys();
} else if(wizardController.walletRestoreMode === "seed") {
valid = wizardWalletInput.verify();
if(!valid) return false;