test: Remove confusing assert_debug_log in wallet_reindex.py

This commit is contained in:
MarcoFalke
2026-03-19 07:58:52 +01:00
parent d81b562fca
commit fa30951af5

View File

@@ -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')