Skip to content

Commit

Permalink
merge bitcoin#28822: Add missing wait for version to be sent in add_o…
Browse files Browse the repository at this point in the history
…utbound_p2p_connection
  • Loading branch information
kwvg committed Oct 16, 2024
1 parent c0b3062 commit d0804d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/test_framework/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ def addconnection_callback(address, port):
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()
Expand Down

0 comments on commit d0804d4

Please sign in to comment.