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
committerJohn Newbery <john@johnnewbery.com>2017-09-01 12:25:55 -0400
commit7148b74dc39110f53c665b94fa9d994c6ad6dc1c (patch)
treeddece712dcd461829ca3b5133b47a14cb945c96a /test/functional/txn_doublespend.py
parent5448a1471d6fc638a2220ea5a2f3782172efe14c (diff)
downloadbitcoin-7148b74dc39110f53c665b94fa9d994c6ad6dc1c.tar.xz
[tests] Functional tests must explicitly set num_nodes
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",