File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929
3030NULLDUMMY_ERROR = "non-mandatory-script-verify-flag (Dummy CHECKMULTISIG argument must be zero)"
3131
32+
3233def 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 ()
You can’t perform that action at this time.
0 commit comments