Skip to content

Commit

Permalink
Merge pull request #3187 from AleoHQ/feat/timestamp-gc
Browse files Browse the repository at this point in the history
Timestamp GC
  • Loading branch information
howardwu committed Mar 25, 2024
2 parents 1e445b5 + fcff34d commit 491f307
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions node/bft/src/helpers/timestamp.rs
Expand Up @@ -28,11 +28,6 @@ pub fn check_timestamp_for_liveness(timestamp: i64) -> Result<()> {
if timestamp > (now() + MAX_TIMESTAMP_DELTA_IN_SECS) {
bail!("Timestamp {timestamp} is too far in the future")
}
// TODO (howardwu): Ensure the timestamp is after the previous timestamp. (Needs Bullshark committee)
// // Ensure the timestamp is after the previous timestamp.
// if timestamp <= committee.previous_timestamp() {
// bail!("Timestamp {timestamp} for the proposed batch must be after the previous round timestamp")
// }
Ok(())
}

Expand Down

0 comments on commit 491f307

Please sign in to comment.