Fixed miner

* Miners could stall because the worker wasn't aware the miner was done
This commit is contained in:
obscuren
2015-03-26 17:45:03 +01:00
parent d0fa0a234d
commit d36501a6e5
3 changed files with 35 additions and 15 deletions

View File

@ -50,6 +50,7 @@ out:
break out
case work := <-a.workCh:
a.work = work
a.returnCh <- nil
}
}
}