File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -144,13 +144,13 @@ FUZZ_TARGET(utxo_total_supply)
144
144
node::RegenerateCommitments (*current_block, chainman);
145
145
const bool was_valid = !MineBlock (node, current_block).IsNull ();
146
146
147
- if (duplicate_coinbase_height == ActiveHeight ()) {
148
- // we mined the duplicate coinbase
149
- assert (current_block->vtx .at (0 )->vin .at (0 ).scriptSig == duplicate_coinbase_script);
150
- }
151
-
152
147
const auto prev_utxo_stats = utxo_stats;
153
148
if (was_valid) {
149
+ if (duplicate_coinbase_height == ActiveHeight ()) {
150
+ // we mined the duplicate coinbase
151
+ assert (current_block->vtx .at (0 )->vin .at (0 ).scriptSig == duplicate_coinbase_script);
152
+ }
153
+
154
154
circulation += GetBlockSubsidy (ActiveHeight (), Params ().GetConsensus ());
155
155
}
156
156
You can’t perform that action at this time.
0 commit comments