Moved logging to logger.Core

This commit is contained in:
obscuren
2015-04-04 13:24:01 +02:00
parent 218bfeb60e
commit 1889727144
6 changed files with 12 additions and 12 deletions

View File

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