test: Use wtxid relay generally in functional tests

This commit is contained in:
Fabian Jahr
2020-04-21 17:02:46 +02:00
committed by Suhas Daftuar
parent 8d8099e97a
commit cacd85209e
6 changed files with 20 additions and 11 deletions

View File

@@ -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