mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 05:37:50 +02:00
test: Remove confusing assert_debug_log in wallet_reindex.py
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user