aboutsummaryrefslogtreecommitdiff
path: root/test/functional/txn_doublespend.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/txn_doublespend.py')
-rwxr-xr-xtest/functional/txn_doublespend.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/txn_doublespend.py b/test/functional/txn_doublespend.py
index 5b12cf4c29..1bd3b3271c 100755
--- a/test/functional/txn_doublespend.py
+++ b/test/functional/txn_doublespend.py
@@ -20,7 +20,9 @@ class TxnMallTest(BitcoinTestFramework):
def setup_network(self):
# Start with split network:
- return super(TxnMallTest, self).setup_network(True)
+ super().setup_network()
+ disconnect_nodes(self.nodes[1], 2)
+ disconnect_nodes(self.nodes[2], 1)
def run_test(self):
# All nodes should start with 1,250 BTC: