Skip to content

Commit fa2b6c6

Browse files
author
MarcoFalke
committed
test: Remove unused node from feature_nulldummy
1 parent 346e52a commit fa2b6c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/functional/feature_nulldummy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
NULLDUMMY_ERROR = "non-mandatory-script-verify-flag (Dummy CHECKMULTISIG argument must be zero)"
3030

31+
3132
def trueDummy(tx):
3233
scriptSig = CScript(tx.vin[0].scriptSig)
3334
newscript = []
@@ -40,18 +41,17 @@ def trueDummy(tx):
4041
tx.vin[0].scriptSig = CScript(newscript)
4142
tx.rehash()
4243

43-
class NULLDUMMYTest(BitcoinTestFramework):
4444

45+
class NULLDUMMYTest(BitcoinTestFramework):
4546
def set_test_params(self):
46-
# Need two nodes so GBT (getblocktemplate) doesn't complain that it's not connected.
47-
self.num_nodes = 2
47+
self.num_nodes = 1
4848
self.setup_clean_chain = True
4949
# This script tests NULLDUMMY activation, which is part of the 'segwit' deployment, so we go through
5050
# normal segwit activation here (and don't use the default always-on behaviour).
5151
self.extra_args = [[
5252
f'-segwitheight={COINBASE_MATURITY + 5}',
5353
'-addresstype=legacy',
54-
]] * 2
54+
]]
5555

5656
def skip_test_if_missing_module(self):
5757
self.skip_if_no_wallet()

0 commit comments

Comments
 (0)