From fa30951af5b174a1ee5e1c23d84b115c542a9570 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Thu, 19 Mar 2026 07:58:52 +0100 Subject: [PATCH] test: Remove confusing assert_debug_log in wallet_reindex.py --- test/functional/wallet_reindex.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/functional/wallet_reindex.py b/test/functional/wallet_reindex.py index 71ab69e01bf..a4180897bf4 100755 --- a/test/functional/wallet_reindex.py +++ b/test/functional/wallet_reindex.py @@ -60,10 +60,8 @@ class WalletReindexTest(BitcoinTestFramework): assert_equal(wallet_watch_only.gettransaction(tx_id)['confirmations'], 50) assert_equal(wallet_watch_only.getbalances()['mine']['trusted'], 2) - # Reindex and wait for it to finish - with node.assert_debug_log(expected_msgs=["initload thread exit"]): - self.restart_node(0, extra_args=['-reindex=1', f'-mocktime={self.node_time}']) - node.syncwithvalidationinterfacequeue() + self.log.info("Reindex ...") # restart_node waits for it to finish + self.restart_node(0, extra_args=[ f'-mocktime={self.node_time}']) # Verify the transaction is still 'confirmed' after reindex wallet_watch_only = node.get_wallet_rpc('watch_only')