From 1503ec662906de44571dcfa0e17de08cc94314c3 Mon Sep 17 00:00:00 2001 From: Some Random Crypto Guy Date: Fri, 14 Nov 2025 15:42:58 +0000 Subject: [PATCH] fixed CLI auto-refresh when rescan_bc --- src/simplewallet/simplewallet.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 57d3ba7..f8eb96c 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -5615,6 +5615,12 @@ boost::optional 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) {