aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--miner/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index daabd3db5..007213a29 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.ChainHeadEvent:
+ case core.NewMinedBlockEvent:
self.commitNewWork()
case core.ChainSideEvent:
self.uncleMu.Lock()