good morning!!!!

Skip to content
Snippets Groups Projects
Commit fe6cf00f authored by stompesi's avatar stompesi Committed by Péter Szilágyi
Browse files

miner: remove duplicated code (#15968)

parent 322006d0
No related branches found
No related tags found
No related merge requests found
......@@ -105,8 +105,7 @@ out:
func (self *Miner) Start(coinbase common.Address) {
atomic.StoreInt32(&self.shouldStart, 1)
self.worker.setEtherbase(coinbase)
self.coinbase = coinbase
self.SetEtherbase(coinbase)
if atomic.LoadInt32(&self.canStart) == 0 {
log.Info("Network syncing, will start miner afterwards")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment