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 28
28
29
29
NULLDUMMY_ERROR = "non-mandatory-script-verify-flag (Dummy CHECKMULTISIG argument must be zero)"
30
30
31
+
31
32
def trueDummy (tx ):
32
33
scriptSig = CScript (tx .vin [0 ].scriptSig )
33
34
newscript = []
@@ -40,18 +41,17 @@ def trueDummy(tx):
40
41
tx .vin [0 ].scriptSig = CScript (newscript )
41
42
tx .rehash ()
42
43
43
- class NULLDUMMYTest (BitcoinTestFramework ):
44
44
45
+ class NULLDUMMYTest (BitcoinTestFramework ):
45
46
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
48
48
self .setup_clean_chain = True
49
49
# This script tests NULLDUMMY activation, which is part of the 'segwit' deployment, so we go through
50
50
# normal segwit activation here (and don't use the default always-on behaviour).
51
51
self .extra_args = [[
52
52
f'-segwitheight={ COINBASE_MATURITY + 5 } ' ,
53
53
'-addresstype=legacy' ,
54
- ]] * 2
54
+ ]]
55
55
56
56
def skip_test_if_missing_module (self ):
57
57
self .skip_if_no_wallet ()
You can’t perform that action at this time.
0 commit comments