fixed CLI auto-refresh when rescan_bc

This commit is contained in:
Some Random Crypto Guy
2025-11-14 15:42:58 +00:00
parent 0f744520ad
commit 1503ec6629

View File

@@ -5615,6 +5615,12 @@ boost::optional<epee::wipeable_string> simple_wallet::open_wallet(const boost::p
m_wallet->rewrite(m_wallet_file, password);
}
}
if (m_wallet->force_rescan()) {
m_wallet->force_rescan(false);
refresh_main(m_wallet->get_refresh_from_block_height(), ResetSoft);
}
}
catch (const std::exception& e)
{