miner: set etherbase even if mining isn't possible at the moment (#21707)
This commit is contained in:
committed by
GitHub
parent
bdc7554918
commit
4eb01b21c8
@ -128,8 +128,8 @@ func (miner *Miner) update() {
|
||||
events.Unsubscribe()
|
||||
}
|
||||
case addr := <-miner.startCh:
|
||||
miner.SetEtherbase(addr)
|
||||
if canStart {
|
||||
miner.SetEtherbase(addr)
|
||||
miner.worker.start()
|
||||
}
|
||||
shouldStart = true
|
||||
|
Reference in New Issue
Block a user