aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_processor.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/block_processor.go')
-rw-r--r--core/block_processor.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/block_processor.go b/core/block_processor.go
index b3e18a70a..aad40291a 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -257,8 +257,8 @@ func (sm *BlockProcessor) ValidateHeader(block, parent *types.Header) error {
return fmt.Errorf("GasLimit check failed for block %v (%v > %v)", block.GasLimit, a, b)
}
- // Allow future blocks up to 4 seconds
- if int64(block.Time)+4 > time.Now().Unix() {
+ // Allow future blocks up to 10 seconds
+ if int64(block.Time)+10 > time.Now().Unix() {
return BlockFutureErr
}