mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
test: Add missing wait for version to be sent in add_outbound_p2p_connection
This commit is contained in:
@@ -703,6 +703,7 @@ class TestNode():
|
|||||||
p2p_conn.wait_for_connect()
|
p2p_conn.wait_for_connect()
|
||||||
self.p2ps.append(p2p_conn)
|
self.p2ps.append(p2p_conn)
|
||||||
|
|
||||||
|
p2p_conn.wait_until(lambda: not p2p_conn.on_connection_send_msg)
|
||||||
if wait_for_verack:
|
if wait_for_verack:
|
||||||
p2p_conn.wait_for_verack()
|
p2p_conn.wait_for_verack()
|
||||||
p2p_conn.sync_with_ping()
|
p2p_conn.sync_with_ping()
|
||||||
|
|||||||
Reference in New Issue
Block a user