mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 02:31:05 +02:00
test: use test_framework.p2p P2P_SERVICES in functional tests
This commit is contained in:
@ -356,7 +356,7 @@ class P2PInterface(P2PConnection):
|
||||
|
||||
return create_conn
|
||||
|
||||
def peer_accept_connection(self, *args, services=NODE_NETWORK | NODE_WITNESS, **kwargs):
|
||||
def peer_accept_connection(self, *args, services=P2P_SERVICES, **kwargs):
|
||||
create_conn = super().peer_accept_connection(*args, **kwargs)
|
||||
self.peer_connect_send_version(services)
|
||||
|
||||
|
Reference in New Issue
Block a user