diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-11-03 13:30:54 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-11-03 13:27:02 +0100 |
commit | fa025984698270d8c9a621aef80f1d788ea2ab2e (patch) | |
tree | 36109c633c3e19c38c2aec144e2dfd1e872a8c28 /test/functional/test_framework/p2p.py | |
parent | 9b68c9b85efebfa23daec6471b87e9cbb514a006 (diff) | |
download | bitcoin-fa025984698270d8c9a621aef80f1d788ea2ab2e.tar.xz |
test: Add missing sync on send_version in peer_connect
Diffstat (limited to 'test/functional/test_framework/p2p.py')
-rwxr-xr-x | test/functional/test_framework/p2p.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/test_framework/p2p.py b/test/functional/test_framework/p2p.py index 352becb367..b1ed97b794 100755 --- a/test/functional/test_framework/p2p.py +++ b/test/functional/test_framework/p2p.py @@ -364,8 +364,8 @@ class P2PInterface(P2PConnection): vt.addrFrom.port = 0 self.on_connection_send_msg = vt # Will be sent in connection_made callback - def peer_connect(self, *args, services=P2P_SERVICES, send_version=True, **kwargs): - create_conn = super().peer_connect(*args, **kwargs) + def peer_connect(self, *, services=P2P_SERVICES, send_version, **kwargs): + create_conn = super().peer_connect(**kwargs) if send_version: self.peer_connect_send_version(services) |