File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -941,7 +941,7 @@ impl RelayerThread {
941
941
}
942
942
943
943
/// Determine the type of tenure change to issue based on whether this
944
- /// miner successfully issued a tenure change in the last tenure .
944
+ /// miner was the last successful miner (miner of the canonical tip) .
945
945
fn determine_tenure_type (
946
946
& self ,
947
947
canonical_snapshot : BlockSnapshot ,
@@ -950,14 +950,14 @@ impl RelayerThread {
950
950
mining_pkh : Hash160 ,
951
951
) -> ( StacksBlockId , BlockSnapshot , MinerReason ) {
952
952
if canonical_snapshot. miner_pk_hash != Some ( mining_pkh) {
953
- debug ! ( "Relayer: Failed to issue a tenure change payload in our last tenure . Issue a new tenure change payload." ) ;
953
+ debug ! ( "Relayer: Miner was not the last successful miner . Issue a new tenure change payload." ) ;
954
954
(
955
955
StacksBlockId ( last_snapshot. winning_stacks_block_hash . 0 ) ,
956
956
last_snapshot,
957
957
MinerReason :: EmptyTenure ,
958
958
)
959
959
} else {
960
- debug ! ( "Relayer: Successfully issued a tenure change payload . Issue a continue extend from the chain tip." ) ;
960
+ debug ! ( "Relayer: Miner was the last successful miner . Issue a tenure extend from the chain tip." ) ;
961
961
(
962
962
self . sortdb . get_canonical_stacks_tip_block_id ( ) ,
963
963
canonical_snapshot,
You can’t perform that action at this time.
0 commit comments