Skip to content

Commit a107fa4

Browse files
committed
update comment on mined_blocks and tenure_change_time to be clear the tenure change doesn't have to be successful
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 1c01db1 commit a107fa4

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pub struct BlockMinerThread {
139139
burnchain: Burnchain,
140140
/// Last block mined
141141
last_block_mined: Option<NakamotoBlock>,
142-
/// Number of blocks mined since a tenure change/extend
142+
/// Number of blocks mined since a tenure change/extend was attempted
143143
mined_blocks: u64,
144144
/// Copy of the node's registered VRF key
145145
registered_key: RegisteredKey,
@@ -160,7 +160,7 @@ pub struct BlockMinerThread {
160160
/// Handle to the p2p thread for block broadcast
161161
p2p_handle: NetworkHandle,
162162
signer_set_cache: Option<RewardSet>,
163-
/// The time at which tenure change was issued
163+
/// The time at which tenure change/extend was attempted
164164
tenure_change_time: Instant,
165165
}
166166

0 commit comments

Comments
 (0)