diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-03 23:22:30 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-03 23:22:30 +0800 |
commit | 546c0f631c77be253d1293b82cf3843d752a2ae2 (patch) | |
tree | cce2d8ccb64356c1612a26951e8a5a988d6d2514 | |
parent | 1cbab291a9e05c107c8ad37b5436872651009886 (diff) | |
parent | 0e33fbdcb9769245f79f76e416f74ac50f51c4ab (diff) | |
download | dexon-546c0f631c77be253d1293b82cf3843d752a2ae2.tar dexon-546c0f631c77be253d1293b82cf3843d752a2ae2.tar.gz dexon-546c0f631c77be253d1293b82cf3843d752a2ae2.tar.bz2 dexon-546c0f631c77be253d1293b82cf3843d752a2ae2.tar.lz dexon-546c0f631c77be253d1293b82cf3843d752a2ae2.tar.xz dexon-546c0f631c77be253d1293b82cf3843d752a2ae2.tar.zst dexon-546c0f631c77be253d1293b82cf3843d752a2ae2.zip |
Merge pull request #1394 from obscuren/develop
miner: ignore future errors
-rw-r--r-- | miner/worker.go | 2 |
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 } |