merge bitcoin#28822: Add missing wait for version to be sent in add_outbound_p2p_connection

This commit is contained in:
Kittywhiskers Van Gogh 2024-10-14 21:26:07 +00:00
parent c0b3062215
commit d0804d4bf0
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -681,6 +681,7 @@ class TestNode():
p2p_conn.wait_for_connect()
self.p2ps.append(p2p_conn)
p2p_conn.wait_until(lambda: not p2p_conn.on_connection_send_msg)
if wait_for_verack:
p2p_conn.wait_for_verack()
p2p_conn.sync_with_ping()