Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in sendheaders.py (#2862)
generate() will push INV messages to all nodes, including our test_node. The original check_last_announcement() call done here will then sporadically return Fals when the INV message is received shortly after clear_last_announcement() Solution is to check for the INV announcement first and then continue with the test.
- Loading branch information