Skip to content

Commit

Permalink
feat: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
jed-wemade committed Sep 24, 2024
1 parent bcdb077 commit 6548a07
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,6 @@ func (w *worker) pendingBlockAndReceipts() (*types.Block, types.Receipts) {

// start sets the running status as 1 and triggers new work submitting.
func (w *worker) start() {
if w.chainConfig.IsMontBlanc(w.chain.CurrentBlock().Number()) {
log.Warn("go-wemix only supports SPoA network, please transition new ones with supporting PoS network")
return
}

atomic.StoreInt32(&w.running, 1)
w.startCh <- struct{}{}
}
Expand Down

0 comments on commit 6548a07

Please sign in to comment.