From c6c22301faaa47e18efcc6d6127b4d415b9ded21 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 18 Apr 2015 20:26:17 +0200 Subject: [PATCH] miner: changed listener --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index daabd3db55..007213a291 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()