File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
from test_framework .test_framework import BitcoinTestFramework
21
21
from test_framework .util import assert_equal , assert_raises_rpc_error
22
22
23
- COINBASE_MATURITY = 427
23
+ COINBASE_MATURITY = 100
24
24
NULLDUMMY_ERROR = "non-mandatory-script-verify-flag (Dummy CHECKMULTISIG argument must be zero)"
25
25
26
26
def trueDummy (tx ):
27
27
scriptSig = CScript (tx .vin [0 ].scriptSig )
28
28
newscript = []
29
29
for i in scriptSig :
30
- if ( len (newscript ) == 0 ) :
30
+ if len (newscript ) == 0 :
31
31
assert len (i ) == 0
32
32
newscript .append (b'\x51 ' )
33
33
else :
@@ -38,7 +38,7 @@ def trueDummy(tx):
38
38
class NULLDUMMYTest (BitcoinTestFramework ):
39
39
40
40
def set_test_params (self ):
41
- # Need two nodes only so GBT doesn't complain that it's not connected
41
+ # Need two nodes so GBT (getblocktemplate) doesn't complain that it's not connected.
42
42
self .num_nodes = 2
43
43
self .setup_clean_chain = True
44
44
# This script tests NULLDUMMY activation, which is part of the 'segwit' deployment, so we go through
You can’t perform that action at this time.
0 commit comments