Skip to content

Commit 6225366

Browse files
committed
chore: questions for reviewers
1 parent 7af0a11 commit 6225366

File tree

1 file changed

+2
-0
lines changed
  • testnet/stacks-node/src/nakamoto_node

1 file changed

+2
-0
lines changed

testnet/stacks-node/src/nakamoto_node/miner.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,12 +1049,14 @@ impl BlockMinerThread {
10491049
// build the block itself
10501050
let (mut block, consumed, size, tx_events) = NakamotoBlockBuilder::build_nakamoto_block(
10511051
&chain_state,
1052+
// TODO (for reviewers): should this be `self.burn_election_block.consensus_hash`?
10521053
&burn_db
10531054
.index_handle_at_ch(&self.burn_block.consensus_hash)
10541055
.map_err(|_| NakamotoNodeError::UnexpectedChainState)?,
10551056
&mut mem_pool,
10561057
&parent_block_info.stacks_parent_header,
10571058
&self.burn_election_block.consensus_hash,
1059+
// TODO (for reviewers): should this be `self.burn_election_block.total_burn`?
10581060
self.burn_block.total_burn,
10591061
tenure_start_info,
10601062
self.config

0 commit comments

Comments
 (0)