We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b22d0 commit e667b82Copy full SHA for e667b82
stackslib/src/net/p2p.rs
@@ -3606,12 +3606,7 @@ impl PeerNetwork {
3606
3607
// in Nakamoto epoch, but we might still be doing epoch 2.x things since Nakamoto does
3608
// not begin on a reward cycle boundary.
3609
- if cur_epoch.epoch_id == StacksEpochId::Epoch30
3610
- && (self.burnchain_tip.block_height
3611
- <= cur_epoch.start_height
3612
- + u64::from(self.burnchain.pox_constants.reward_cycle_length)
3613
- || self.connection_opts.force_nakamoto_epoch_transition)
3614
- {
+ if cur_epoch.epoch_id >= StacksEpochId::Epoch30 && !self.stacks_tip.is_nakamoto {
3615
debug!(
3616
"{:?}: run Epoch 2.x work loop in Nakamoto epoch",
3617
self.get_local_peer()
0 commit comments