aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-10-10 01:08:35 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-10-10 01:08:35 +0300
commitb1454c6a1366ccf044d9ff92ac1aa95d2249f06b (patch)
treeca91d8dc8d661a8ef81ad6116e3f8574fb2b0d70
parentbe135e39cc4c1fc9981b8e9c1dbae9d056f8f769 (diff)
downloadmonzero-gui-b1454c6a1366ccf044d9ff92ac1aa95d2249f06b.tar.gz
monzero-gui-b1454c6a1366ccf044d9ff92ac1aa95d2249f06b.tar.xz
monzero-gui-b1454c6a1366ccf044d9ff92ac1aa95d2249f06b.zip
removed duplicated-by-mistake code
-rw-r--r--main.qml8
1 files changed, 0 insertions, 8 deletions
diff --git a/main.qml b/main.qml
index 9d1bf326..ac45ed20 100644
--- a/main.qml
+++ b/main.qml
@@ -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()