Merge pull request #1394 from obscuren/develop

miner: ignore future errors
This commit is contained in:
Jeffrey Wilcke 2015-07-03 08:22:30 -07:00
commit 546c0f631c
1 changed files with 1 additions and 1 deletions

View File

@ -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
}