forked from cerc-io/plugeth
miner: reverted back to old event
This commit is contained in:
parent
a1d97ea4db
commit
c8cc523d4d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user