aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 007213a29..daabd3db5 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -158,7 +158,7 @@ out:
select {
case event := <-events.Chan():
switch ev := event.(type) {
- case core.NewMinedBlockEvent:
+ case core.ChainHeadEvent:
self.commitNewWork()
case core.ChainSideEvent:
self.uncleMu.Lock()