aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_feefilter.py
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2020-04-21 17:02:46 +0200
committerSuhas Daftuar <sdaftuar@gmail.com>2020-07-19 02:10:42 -0400
commitcacd85209e20fc0fd08f86eed23b6ef93484ffcf (patch)
treed4effd3ca0310024448814980c371e882e506584 /test/functional/p2p_feefilter.py
parent8d8099e97ab8af2126f6fbd223fbd82c52f2e85e (diff)
downloadbitcoin-cacd85209e20fc0fd08f86eed23b6ef93484ffcf.tar.xz
test: Use wtxid relay generally in functional tests
Diffstat (limited to 'test/functional/p2p_feefilter.py')
-rwxr-xr-xtest/functional/p2p_feefilter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p_feefilter.py b/test/functional/p2p_feefilter.py
index f939ea965c..73afe9adc4 100755
--- a/test/functional/p2p_feefilter.py
+++ b/test/functional/p2p_feefilter.py
@@ -7,7 +7,7 @@
from decimal import Decimal
import time
-from test_framework.messages import MSG_TX, msg_feefilter
+from test_framework.messages import MSG_TX, MSG_WTX, msg_feefilter
from test_framework.mininode import mininode_lock, P2PInterface
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import assert_equal
@@ -45,7 +45,7 @@ class TestP2PConn(P2PInterface):
def on_inv(self, message):
for i in message.inv:
- if (i.type == MSG_TX):
+ if (i.type == MSG_TX) or (i.type == MSG_WTX):
self.txinvs.append(hashToHex(i.hash))
def clear_invs(self):