Skip to content

Commit

Permalink
fix: set reentry flag
Browse files Browse the repository at this point in the history
  • Loading branch information
krish-nr committed Nov 12, 2024
1 parent b8653bc commit 6a5de76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miner/fix_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func (fm *StateFixManager) StartFix(worker *worker, id engine.PayloadID, parentH
return nil
}

fm.isFixInProgress = true
defer func() {
fm.isFixInProgress = false
}()
Expand Down

0 comments on commit 6a5de76

Please sign in to comment.