eth/downloader: moved start event
Start event has moved because it could possibly could stall the miner
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user