diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-16 18:29:19 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-16 19:02:30 +0800 |
commit | c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1 (patch) | |
tree | 15b743c0ff1ff1553c6b7293b8cef26da4493b79 /miner/agent.go | |
parent | fe64a13cea19556658971189024b5df98b45d4b7 (diff) | |
download | go-tangerine-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar go-tangerine-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar.gz go-tangerine-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar.bz2 go-tangerine-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar.lz go-tangerine-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar.xz go-tangerine-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar.zst go-tangerine-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.zip |
eth/downloader: moved start event
Start event has moved because it could possibly could stall the miner
Diffstat (limited to 'miner/agent.go')
-rw-r--r-- | miner/agent.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/miner/agent.go b/miner/agent.go index 024e8aec0..da2a2008d 100644 --- a/miner/agent.go +++ b/miner/agent.go @@ -49,6 +49,7 @@ func (self *CpuAgent) Start() { self.quit = make(chan struct{}) // creating current op ch makes sure we're not closing a nil ch + // later on self.quitCurrentOp = make(chan struct{}) self.workCh = make(chan *types.Block, 1) |