set restore height even if not connected

This commit is contained in:
woodser
2020-01-05 15:21:34 -05:00
parent 3ad7e9e6a8
commit e7d6a8045b
+1 -1
View File
@@ -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;