mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
merge bitcoin#29511: Fix intermittent failure in rpc_net.py --v2transport
This commit is contained in:
parent
54972e8fa0
commit
062aaf11e4
@ -115,6 +115,8 @@ class NetTest(DashTestFramework):
|
||||
no_version_peer_conntime = self.mocktime
|
||||
with self.nodes[0].assert_debug_log([f"Added connection peer={no_version_peer_id}"]):
|
||||
no_version_peer = self.nodes[0].add_p2p_connection(P2PInterface(), send_version=False, wait_for_verack=False)
|
||||
if self.options.v2transport:
|
||||
self.wait_until(lambda: self.nodes[0].getpeerinfo()[no_version_peer_id]["transport_protocol_type"] == "v2")
|
||||
peer_info = self.nodes[0].getpeerinfo()[no_version_peer_id]
|
||||
peer_info.pop("addr")
|
||||
peer_info.pop("addrbind")
|
||||
|
Loading…
Reference in New Issue
Block a user