mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 11:12:50 +01:00
test: Wait until is_connected in add_p2p_connection
This commit is contained in:
@@ -474,7 +474,7 @@ class P2PInterface(P2PConnection):
|
||||
def test_function():
|
||||
return "verack" in self.last_message
|
||||
|
||||
self.wait_until(test_function, timeout=timeout, check_connected=False)
|
||||
self.wait_until(test_function, timeout=timeout)
|
||||
|
||||
# Message sending helper functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user