mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Merge 438a3b739a into e07e507d1a
This commit is contained in:
commit
5378172b96
1 changed files with 1 additions and 2 deletions
|
|
@ -417,8 +417,7 @@ func (self *worker) commitNewWork() {
|
|||
}
|
||||
}
|
||||
// Could potentially happen if starting to mine in an odd state.
|
||||
err := self.makeCurrent(parent, header)
|
||||
if err != nil {
|
||||
if err := self.makeCurrent(parent, header); err != nil {
|
||||
log.Error("Failed to create mining context", "err", err)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue