code clean up and wallet close consistency

This commit is contained in:
Jaquee
2016-12-04 13:13:59 +01:00
parent ead9bd70be
commit eb97bda3a3
3 changed files with 20 additions and 61 deletions

View File

@@ -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")
}