You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: testnet/stacks-node/src/nakamoto_node/relayer.rs
+5-23Lines changed: 5 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -530,30 +530,12 @@ impl RelayerThread {
530
530
});
531
531
}
532
532
533
-
let mining_pkh_opt = self.get_mining_key_pkh();
534
-
535
533
// a sortition happened, but we didn't win.
536
-
matchSelf::can_continue_tenure(
537
-
&self.sortdb,
538
-
&mutself.chainstate,
539
-
sn.consensus_hash,
540
-
mining_pkh_opt,
541
-
){
542
-
Ok(Some(_)) => {
543
-
// we can continue our ongoing tenure, but we should give the new winning miner
544
-
// a chance to send their BlockFound first.
545
-
debug!("Relayer: Did not win sortition, but am mining the ongoing tenure. Allowing the new miner some time to come online before trying to continue.");
0 commit comments