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 @@ -50,6 +50,9 @@ def run_test(self):
50
50
block .nNonce = 0
51
51
block .vtx = [coinbase_tx ]
52
52
53
+ self .log .info ("getblocktemplate: Test valid block" )
54
+ assert_template (node , block , None )
55
+
53
56
self .log .info ("getblocktemplate: Test bad input hash for coinbase transaction" )
54
57
bad_block = copy .deepcopy (block )
55
58
bad_block .vtx [0 ].vin [0 ].prevout .hash += 1
@@ -104,9 +107,6 @@ def run_test(self):
104
107
bad_block .nTime = 0
105
108
assert_template (node , bad_block , 'time-too-old' )
106
109
107
- self .log .info ("getblocktemplate: Test valid block" )
108
- assert_template (node , block , None )
109
-
110
110
self .log .info ("getblocktemplate: Test not best block" )
111
111
bad_block = copy .deepcopy (block )
112
112
bad_block .hashPrevBlock = 123
You can’t perform that action at this time.
0 commit comments