Skip to content

Commit 5704f74

Browse files
committed
comment
1 parent 1a3a37e commit 5704f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/types/src/slot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl SlotCalculator {
3434
}
3535

3636
/// Calculates the slot for a given timestamp.
37-
/// This only works for timestamps that are greater than the start timestamp.
37+
/// This only works for timestamps that are GEQ to the chain's start_timestamp.
3838
pub const fn calculate_slot(&self, timestamp: u64) -> u64 {
3939
let elapsed = timestamp - self.start_timestamp;
4040
let slots = elapsed.div_ceil(self.slot_duration);

0 commit comments

Comments
 (0)