mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
miner: remove NewMinedBlockEvent, close XFN-50 (#1644)
This commit is contained in:
parent
5d25e016d2
commit
d319102837
1 changed files with 0 additions and 4 deletions
|
|
@ -415,10 +415,6 @@ func (w *worker) wait() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
block := result.Block
|
block := result.Block
|
||||||
if w.config.XDPoS != nil && block.NumberU64() >= w.config.XDPoS.Epoch && len(block.Validator()) == 0 {
|
|
||||||
w.mux.Post(core.NewMinedBlockEvent{Block: block})
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
work := result.Work
|
work := result.Work
|
||||||
|
|
||||||
// Different block could share same sealhash, deep copy here to prevent write-write conflict.
|
// Different block could share same sealhash, deep copy here to prevent write-write conflict.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue