aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_tx_download.py
diff options
context:
space:
mode:
authorAntoine Riard <ariard@student.42.fr>2020-10-17 11:20:43 -0400
committerAntoine Riard <ariard@student.42.fr>2020-11-02 18:29:48 -0500
commita07910abcd580ed07187794cf0e1faf040bb4212 (patch)
tree7aaccfd1610cf2300eb6f80bac8bfd94de66b5b9 /test/functional/p2p_tx_download.py
parent9e8d2bd076d78ba59abceb80106f44fe26246b14 (diff)
downloadbitcoin-a07910abcd580ed07187794cf0e1faf040bb4212.tar.xz
test: Makes wtxidrelay support a generic P2PInterface option
Its usage is extended beyond p2p_segwit.py in next commit.
Diffstat (limited to 'test/functional/p2p_tx_download.py')
-rwxr-xr-xtest/functional/p2p_tx_download.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p_tx_download.py b/test/functional/p2p_tx_download.py
index 16d9302db8..a666d6c8d1 100755
--- a/test/functional/p2p_tx_download.py
+++ b/test/functional/p2p_tx_download.py
@@ -30,8 +30,8 @@ import time
class TestP2PConn(P2PInterface):
- def __init__(self):
- super().__init__()
+ def __init__(self, wtxidrelay=True):
+ super().__init__(wtxidrelay=wtxidrelay)
self.tx_getdata_count = 0
def on_getdata(self, message):