|
|
|
@ -251,14 +251,6 @@ ApplicationWindow {
|
|
|
|
|
console.log("wallet stored after first successfull refresh")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Store wallet after first refresh. To prevent broken wallet after a crash
|
|
|
|
|
// TODO: Move this to libwallet?
|
|
|
|
|
if(isNewWallet && currentWallet.blockChainHeight() > 0){
|
|
|
|
|
currentWallet.store(persistentSettings.wallet_path)
|
|
|
|
|
isNewWallet = false
|
|
|
|
|
console.log("wallet stored after first successfull refresh")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// initialize transaction history once wallet is initializef first time;
|
|
|
|
|
if (!walletInitialized) {
|
|
|
|
|
currentWallet.history.refresh()
|
|
|
|
|