Fixed miner
* Miners could stall because the worker wasn't aware the miner was done
This commit is contained in:
@ -50,6 +50,7 @@ out:
|
||||
break out
|
||||
case work := <-a.workCh:
|
||||
a.work = work
|
||||
a.returnCh <- nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user