Skip to content

Commit 2971071

Browse files
committed
Merge 898dd9e into merged_master (Bitcoin PR bitcoin/bitcoin#22150)
2 parents b9aa053 + 898dd9e commit 2971071

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
@@ -29,6 +29,7 @@
2929

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

32+
3233
def trueDummy(tx):
3334
scriptSig = CScript(tx.vin[0].scriptSig)
3435
newscript = []
@@ -41,18 +42,17 @@ def trueDummy(tx):
4142
tx.vin[0].scriptSig = CScript(newscript)
4243
tx.rehash()
4344

44-
class NULLDUMMYTest(BitcoinTestFramework):
4545

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

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

0 commit comments

Comments
 (0)