aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-12-07 09:12:37 -0800
committerMarcoFalke <falke.marco@gmail.com>2020-12-10 11:37:22 +0100
commitbead93547067e4b62b44fba335f1d4697119c2d7 (patch)
tree4feb1322298a1bc06dee4c96ca3949cb5d1cbcc6 /test/functional
parent9e806887a8f9ef63431b28d7dfd0470aa663dd02 (diff)
Send and require SENDADDRV2 before VERACK
See the corresponding BIP change: https://github.com/bitcoin/bips/pull/1043 Github-Pull: #20564 Rebased-From: 1583498fb6781c01ca2f33c09319ed793964c574
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/test_framework/p2p.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/p2p.py b/test/functional/test_framework/p2p.py
index 6846d31221..8b79a4dc2f 100755
--- a/test/functional/test_framework/p2p.py
+++ b/test/functional/test_framework/p2p.py
@@ -396,9 +396,9 @@ class P2PInterface(P2PConnection):
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())
if self.support_addrv2:
self.send_message(msg_sendaddrv2())
+ self.send_message(msg_verack())
self.nServices = message.nServices
# Connection helper methods