mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 19:23:41 +02:00
In feature_assumevalid.py, we check that a modified block 102 is invalid by asserting a message in the debug.log. However, this can intermittently fail as exiting the assert_debug_log can occur before the block has actually been validated, thus causing the test to fail as the validation error message is not present in the chunk of the debug.log being examined. We can wait for the block to make an invalid chain tip to ensure that the log line will be present.
11 KiB
Executable File
11 KiB
Executable File