mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-21 11:30:16 +01:00
test: Use wtxid relay generally in functional tests
This commit is contained in:
committed by
Suhas Daftuar
parent
8d8099e97a
commit
cacd85209e
@@ -377,6 +377,8 @@ class P2PInterface(P2PConnection):
|
||||
|
||||
def on_version(self, message):
|
||||
assert message.nVersion >= MIN_VERSION_SUPPORTED, "Version {} received. Test framework only supports versions greater than {}".format(message.nVersion, MIN_VERSION_SUPPORTED)
|
||||
if message.nVersion >= 70016:
|
||||
self.send_message(msg_wtxidrelay())
|
||||
self.send_message(msg_verack())
|
||||
self.nServices = message.nServices
|
||||
|
||||
|
||||
Reference in New Issue
Block a user