From c2ef8682fe90c7e8c6e5d9d8ff30767f5a84e2f1 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 16 May 2015 12:29:19 +0200 Subject: eth/downloader: moved start event Start event has moved because it could possibly could stall the miner --- miner/agent.go | 1 + 1 file changed, 1 insertion(+) (limited to 'miner') 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) -- cgit v1.2.3