Skip to content

Commit

Permalink
Merge pull request #4971 from stacks-network/chore/add-unblock-log
Browse files Browse the repository at this point in the history
Add unblock log
  • Loading branch information
obycode committed Jul 17, 2024
2 parents 2e0c984 + c03704c commit a13dcc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stackslib/src/chainstate/nakamoto/coordinator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ impl<
match self.handle_new_nakamoto_burnchain_block() {
Ok(can_proceed) => {
if !can_proceed {
error!("Missing canonical anchor block",);
error!("Missing canonical anchor block");
}
}
Err(e) => {
Expand Down
1 change: 1 addition & 0 deletions stackslib/src/chainstate/stacks/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ pub fn signal_mining_blocked(miner_status: Arc<Mutex<MinerStatus>>) {

/// resume mining if we blocked it earlier
pub fn signal_mining_ready(miner_status: Arc<Mutex<MinerStatus>>) {
debug!("Signaling miner to resume"; "thread_id" => ?std::thread::current().id());
match miner_status.lock() {
Ok(mut status) => {
status.remove_blocked();
Expand Down

0 comments on commit a13dcc0

Please sign in to comment.