mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-03-11 08:56:23 +00:00
removed duplicated-by-mistake code
This commit is contained in:
parent
be135e39cc
commit
b1454c6a13
1 changed files with 0 additions and 8 deletions
8
main.qml
8
main.qml
|
@ -251,14 +251,6 @@ ApplicationWindow {
|
||||||
console.log("wallet stored after first successfull refresh")
|
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;
|
// initialize transaction history once wallet is initializef first time;
|
||||||
if (!walletInitialized) {
|
if (!walletInitialized) {
|
||||||
currentWallet.history.refresh()
|
currentWallet.history.refresh()
|
||||||
|
|
Loading…
Reference in a new issue