aboutsummaryrefslogtreecommitdiffstats
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
parent1cbab291a9e05c107c8ad37b5436872651009886 (diff)
downloaddexon-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar
dexon-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.gz
dexon-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.bz2
dexon-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.lz
dexon-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.xz
dexon-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.tar.zst
dexon-0e33fbdcb9769245f79f76e416f74ac50f51c4ab.zip
miner: ignore future errors
-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
}