diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2020-04-21 17:02:46 +0200 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2020-07-19 02:10:42 -0400 |
commit | cacd85209e20fc0fd08f86eed23b6ef93484ffcf (patch) | |
tree | d4effd3ca0310024448814980c371e882e506584 /test/functional/test_framework/mininode.py | |
parent | 8d8099e97ab8af2126f6fbd223fbd82c52f2e85e (diff) | |
download | bitcoin-cacd85209e20fc0fd08f86eed23b6ef93484ffcf.tar.xz |
test: Use wtxid relay generally in functional tests
Diffstat (limited to 'test/functional/test_framework/mininode.py')
-rwxr-xr-x | test/functional/test_framework/mininode.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/test_framework/mininode.py b/test/functional/test_framework/mininode.py index 7d453d101d..f68c1a9ddd 100755 --- a/test/functional/test_framework/mininode.py +++ b/test/functional/test_framework/mininode.py @@ -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 |