File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1049,15 +1049,13 @@ impl BlockMinerThread {
1049
1049
// build the block itself
1050
1050
let ( mut block, consumed, size, tx_events) = NakamotoBlockBuilder :: build_nakamoto_block (
1051
1051
& chain_state,
1052
- // TODO (for reviewers): should this be `self.burn_election_block.consensus_hash`?
1053
1052
& burn_db
1054
- . index_handle_at_ch ( & self . burn_block . consensus_hash )
1053
+ . index_handle_at_ch ( & self . burn_election_block . consensus_hash )
1055
1054
. map_err ( |_| NakamotoNodeError :: UnexpectedChainState ) ?,
1056
1055
& mut mem_pool,
1057
1056
& parent_block_info. stacks_parent_header ,
1058
1057
& self . burn_election_block . consensus_hash ,
1059
- // TODO (for reviewers): should this be `self.burn_election_block.total_burn`?
1060
- self . burn_block . total_burn ,
1058
+ self . burn_election_block . total_burn ,
1061
1059
tenure_start_info,
1062
1060
self . config
1063
1061
. make_nakamoto_block_builder_settings ( self . globals . get_miner_status ( ) ) ,
You can’t perform that action at this time.
0 commit comments