diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-23 23:35:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-23 23:35:44 +0800 |
commit | 9be7853e349f97917120fd925e2c5a462bd78846 (patch) | |
tree | b194545cd7b8ee45eaddb17553cab02c07bd2610 /miner/remote_agent.go | |
parent | dc3a9379f50d0d5b41abc28acc2a871534968a77 (diff) | |
download | go-tangerine-9be7853e349f97917120fd925e2c5a462bd78846.tar.gz go-tangerine-9be7853e349f97917120fd925e2c5a462bd78846.tar.zst go-tangerine-9be7853e349f97917120fd925e2c5a462bd78846.zip |
Fixed issues with stalled remote miner
Diffstat (limited to 'miner/remote_agent.go')
-rw-r--r-- | miner/remote_agent.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/remote_agent.go b/miner/remote_agent.go index 8ea164f34..3911ac61e 100644 --- a/miner/remote_agent.go +++ b/miner/remote_agent.go @@ -17,7 +17,6 @@ type RemoteAgent struct { func NewRemoteAgent() *RemoteAgent { agent := &RemoteAgent{} - go agent.run() return agent } @@ -33,6 +32,7 @@ func (a *RemoteAgent) SetWorkCh(returnCh chan<- Work) { func (a *RemoteAgent) Start() { a.quit = make(chan struct{}) a.workCh = make(chan *types.Block, 1) + go a.run() } func (a *RemoteAgent) Stop() { |