aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/messages.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-08-08 13:22:19 +0200
committerJon Atack <jon@atack.com>2020-08-26 11:57:27 +0200
commitaa3621385ee66c9dde5c632c0a79fba3a6ea2d62 (patch)
tree4f29c6cfc3d15e78c6828e19dce50f3a06a22115 /test/functional/test_framework/messages.py
parent24ee4f01eadb870435712950a1364cf0def06e9f (diff)
downloadbitcoin-aa3621385ee66c9dde5c632c0a79fba3a6ea2d62.tar.xz
test: use CInv::MSG_WITNESS_TX flag in p2p_segwit
Diffstat (limited to 'test/functional/test_framework/messages.py')
-rwxr-xr-xtest/functional/test_framework/messages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py
index 5207b563a1..5e411e35a8 100755
--- a/test/functional/test_framework/messages.py
+++ b/test/functional/test_framework/messages.py
@@ -63,6 +63,7 @@ MSG_CMPCT_BLOCK = 4
MSG_WTX = 5
MSG_WITNESS_FLAG = 1 << 30
MSG_TYPE_MASK = 0xffffffff >> 2
+MSG_WITNESS_TX = MSG_TX | MSG_WITNESS_FLAG
FILTER_TYPE_BASIC = 0