test: Add missing wait for version to be sent in add_outbound_p2p_connection

This commit is contained in:
MarcoFalke committed 2023-11-08 11:36:24 +01:00
1 parent d690f89b57
commit faa2ad88bc
1 file changed
+1
@@ -703,6 +703,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()