aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-03 23:21:23 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-03 23:21:23 +0800
commit0e33fbdcb9769245f79f76e416f74ac50f51c4ab (patch)
treecce2d8ccb64356c1612a26951e8a5a988d6d2514 /miner
parent1cbab291a9e05c107c8ad37b5436872651009886 (diff)
downloadgo-tangerine-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar
go-tangerine-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.gz
go-tangerine-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.bz2
go-tangerine-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.lz
go-tangerine-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.xz
go-tangerine-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.zst
go-tangerine-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.zip
miner: ignore future errors
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index a23b663f9..1c1e8f927 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -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
}