mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 21:07:17 +00:00
miner: changed listener
This commit is contained in:
parent
6830ddb659
commit
c6c22301fa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user