diff options
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardCreateWallet.qml | 2 | ||||
| -rw-r--r-- | wizard/WizardRecoveryWallet.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml index 81ee9ba7..cf26c7bc 100644 --- a/wizard/WizardCreateWallet.qml +++ b/wizard/WizardCreateWallet.qml @@ -78,7 +78,7 @@ Item { // Always delete the wallet object before creating new - we could be stepping back from recovering wallet if (typeof settingsObject.wallet !== 'undefined') { - settingsObject.wallet.destroy() + walletManager.closeWallet() console.log("deleting wallet") } diff --git a/wizard/WizardRecoveryWallet.qml b/wizard/WizardRecoveryWallet.qml index c5ff8bc9..2c75225e 100644 --- a/wizard/WizardRecoveryWallet.qml +++ b/wizard/WizardRecoveryWallet.qml @@ -79,7 +79,7 @@ Item { settingsObject['wallet'] = wallet; settingsObject['is_recovering'] = true; } else { - walletManager.closeWallet(wallet); + walletManager.closeWallet(); } return success; } |
