aboutsummaryrefslogtreecommitdiff
path: root/test/functional/txn_doublespend.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-24 11:11:56 -0400
committerMarcoFalke <falke.marco@gmail.com>2017-10-03 18:44:16 +0200
commit82bf6fc6d48a232cc0ceb54b136d86914f49013c (patch)
treed9709ea3cb26287e192aed77e65ca17cfb9c9a39 /test/functional/txn_doublespend.py
parent801d2ae9247be5870344c8b4ed5c372ab8930408 (diff)
downloadbitcoin-82bf6fc6d48a232cc0ceb54b136d86914f49013c.tar.xz
[tests] Functional tests must explicitly set num_nodes
Github-Pull: #11121 Rebased-From: 7148b74dc39110f53c665b94fa9d994c6ad6dc1c
Diffstat (limited to 'test/functional/txn_doublespend.py')
-rwxr-xr-xtest/functional/txn_doublespend.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/txn_doublespend.py b/test/functional/txn_doublespend.py
index ff24fac254..69629ef951 100755
--- a/test/functional/txn_doublespend.py
+++ b/test/functional/txn_doublespend.py
@@ -8,6 +8,8 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
class TxnMallTest(BitcoinTestFramework):
+ def set_test_params(self):
+ self.num_nodes = 4
def add_options(self, parser):
parser.add_option("--mineblock", dest="mine_block", default=False, action="store_true",