aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
Diffstat (limited to 'miner')
-rw-r--r--miner/agent.go1
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)