From e7d6a8045b5ff30cd8ba36da4639a7364abed8a1 Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 5 Jan 2020 15:21:34 -0500 Subject: [PATCH] set restore height even if not connected --- src/wallet/monero_wallet_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/monero_wallet_core.cpp b/src/wallet/monero_wallet_core.cpp index 1659e9f..06e1e9d 100644 --- a/src/wallet/monero_wallet_core.cpp +++ b/src/wallet/monero_wallet_core.cpp @@ -862,7 +862,7 @@ namespace monero { cout << "4" << endl; wallet->m_w2->generate(path, password, recovery_key, true, false); cout << "5" << endl; - if (wallet->is_connected()) wallet->m_w2->set_refresh_from_block_height(restore_height); + wallet->m_w2->set_refresh_from_block_height(restore_height); cout << "6" << endl; wallet->init_common(); cout << "7" << endl;