mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-05 18:37:26 -04:00
code clean up and wallet close consistency
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ Item {
|
||||
settingsObject['wallet'] = wallet;
|
||||
settingsObject['is_recovering'] = true;
|
||||
} else {
|
||||
walletManager.closeWallet(wallet);
|
||||
walletManager.closeWallet();
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user