miner: reverted back to old event

This commit is contained in:
obscuren 2015-04-18 20:51:05 +02:00
parent a1d97ea4db
commit c8cc523d4d

View File

@ -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()