File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ impl RelayerThread {
415
415
. expect ( "FATAL: failed to query sortition DB for epoch" )
416
416
. expect ( "FATAL: no epoch defined for existing sortition" ) ;
417
417
418
- if cur_epoch. epoch_id != StacksEpochId :: Epoch30 {
418
+ if cur_epoch. epoch_id < StacksEpochId :: Epoch30 {
419
419
debug ! (
420
420
"As of sortition {}, there has not yet been a Nakamoto tip. Cannot mine." ,
421
421
& stacks_tip_sn. consensus_hash
@@ -454,6 +454,9 @@ impl RelayerThread {
454
454
}
455
455
self . globals . set_last_sortition ( sn. clone ( ) ) ;
456
456
457
+ // there may be a bufferred stacks block to process, so wake up the coordinator to check
458
+ self . globals . coord_comms . announce_new_stacks_block ( ) ;
459
+
457
460
info ! (
458
461
"Relayer: Process sortition" ;
459
462
"sortition_ch" => %consensus_hash,
You can’t perform that action at this time.
0 commit comments