diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-27 00:45:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-27 00:45:03 +0800 |
commit | d36501a6e54e1c794af0c7109e937f7f7c74de79 (patch) | |
tree | 5b32e606558a99e4a516757c924a679fdcb2716f /miner/remote_agent.go | |
parent | d0fa0a234d19468b513d9144f442b8be77ccf898 (diff) | |
download | go-tangerine-d36501a6e54e1c794af0c7109e937f7f7c74de79.tar.gz go-tangerine-d36501a6e54e1c794af0c7109e937f7f7c74de79.tar.zst go-tangerine-d36501a6e54e1c794af0c7109e937f7f7c74de79.zip |
Fixed miner
* Miners could stall because the worker wasn't aware the miner was done
Diffstat (limited to 'miner/remote_agent.go')
-rw-r--r-- | miner/remote_agent.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/miner/remote_agent.go b/miner/remote_agent.go index e92dd5963..aa04a58aa 100644 --- a/miner/remote_agent.go +++ b/miner/remote_agent.go @@ -50,6 +50,7 @@ out: break out case work := <-a.workCh: a.work = work + a.returnCh <- nil } } } |