diff --git a/consensus/ibft/consensus_backend.go b/consensus/ibft/consensus_backend.go index 46cd875643..e2f4dd00b3 100644 --- a/consensus/ibft/consensus_backend.go +++ b/consensus/ibft/consensus_backend.go @@ -136,14 +136,7 @@ func (i *backendIBFT) buildBlock(snap *Snapshot, parent *types.Header) (*types.B } // set the timestamp - parentTime := time.Unix(int64(parent.Timestamp), 0) - headerTime := parentTime.Add(i.blockTime) - - if headerTime.Before(time.Now()) { - headerTime = time.Now() - } - - header.Timestamp = uint64(headerTime.Unix()) + header.Timestamp = uint64(time.Now().Unix()) // we need to include in the extra field the current set of validators putIbftExtraValidators(header, snap.Set)