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 {
|
select {
|
||||||
case event := <-events.Chan():
|
case event := <-events.Chan():
|
||||||
switch ev := event.(type) {
|
switch ev := event.(type) {
|
||||||
case core.NewMinedBlockEvent:
|
case core.ChainHeadEvent:
|
||||||
self.commitNewWork()
|
self.commitNewWork()
|
||||||
case core.ChainSideEvent:
|
case core.ChainSideEvent:
|
||||||
self.uncleMu.Lock()
|
self.uncleMu.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user