Skip to content

Commit

Permalink
break loop when delayFlag becomes false (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu authored Jan 22, 2024
1 parent c4e2a3f commit c629c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@ mainloop:

if ok1 || ok2 {
delayFlag = false
break

Check warning on line 1127 in miner/worker.go

View check run for this annotation

Codecov / codecov/patch

miner/worker.go#L1127

Added line #L1127 was not covered by tests
}

for j := range deps[i] {
Expand Down

0 comments on commit c629c0f

Please sign in to comment.