From c8cc523d4d073f3405057554b5a0881118eba6f1 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 18 Apr 2015 20:51:05 +0200 Subject: [PATCH] miner: reverted back to old event --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()