mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-18 09:00:44 +00:00
miner: ignore future errors
This commit is contained in:
parent
1cbab291a9
commit
0e33fbdcb9
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ func (self *worker) wait() {
|
|||
glog.V(logger.Error).Infoln("Invalid block found during mining")
|
||||
continue
|
||||
}
|
||||
if err := core.ValidateHeader(self.eth.BlockProcessor().Pow, block.Header(), parent, true); err != nil {
|
||||
if err := core.ValidateHeader(self.eth.BlockProcessor().Pow, block.Header(), parent, true); err != nil && err != core.BlockFutureErr {
|
||||
glog.V(logger.Error).Infoln("Invalid header on mined block:", err)
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue