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 | |
parent | fe64a13cea19556658971189024b5df98b45d4b7 (diff) | |
download | dexon-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar.gz dexon-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.tar.zst dexon-c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1.zip |
eth/downloader: moved start event
Start event has moved because it could possibly could stall the miner
Diffstat (limited to 'miner')
-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) |