diff --git a/consensus/bor/bor.go b/consensus/bor/bor.go index bcbd2f3925..e51314aff1 100644 --- a/consensus/bor/bor.go +++ b/consensus/bor/bor.go @@ -1031,16 +1031,6 @@ func (c *Bor) Prepare(chain consensus.ChainHeaderReader, header *types.Header) e if header.Time < uint64(time.Now().Unix()) { header.Time = uint64(time.Now().Unix()) - } else { - // For primary validators, wait until the current block production window - // starts. This prevents bor from starting to build next block before time - // as we'd like to wait for new transactions. Although this change doesn't - // need a check for hard fork as it doesn't change any consensus rules, we - // still keep it for safety and testing. - if c.config.IsBhilai(big.NewInt(int64(number))) && succession == 0 { - startTime := header.GetActualTime().Add(-time.Duration(c.config.CalculatePeriod(number)) * time.Second) - time.Sleep(time.Until(startTime)) - } } return nil diff --git a/params/version.go b/params/version.go index d69ed35323..1548dc223c 100644 --- a/params/version.go +++ b/params/version.go @@ -25,7 +25,7 @@ import ( const ( VersionMajor = 2 // Major version component of the current release VersionMinor = 5 // Minor version component of the current release - VersionPatch = 4 // Patch version component of the current release + VersionPatch = 5 // Patch version component of the current release VersionMeta = "" // Version metadata to append to the version string )