fix corrupt wallet on killed app during sync

This commit is contained in:
Jacob Brydolf 2016-10-10 22:52:32 +02:00
parent 8367cfab85
commit 703948cec4
No known key found for this signature in database
GPG Key ID: DE46246550D2F3C5
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ ApplicationWindow {
// basicPanel.paymentClicked.connect(handlePayment);
// currentWallet is defined on daemon address change - close/reopen
if (currentWallet !== undefined) {
if (currentWallet != undefined) {
console.log("closing currentWallet")
walletManager.closeWallet(currentWallet);
}