fix comments

This commit is contained in:
y
2023-09-06 11:54:05 -04:00
committed by greptile
parent 5d62a10855
commit 6308a7e123

View File

@@ -56,7 +56,7 @@ impl TimeKeeper {
Self { genesis_ts, epoch_length, slot_time, verifying_slot }
}
/// Generate a Timekeeper for current slot
/// Generate a TimeKeeper for current slot
pub fn current(&self) -> Self {
Self {
genesis_ts: self.genesis_ts,
@@ -153,7 +153,7 @@ impl TimeKeeperSafe {
}
Self { timekeeper: TimeKeeper { genesis_ts, epoch_length, slot_time, verifying_slot } }
}
/// Generate a TimekeeperSafe for current slot
/// Generate a TimeKeeperSafe for current slot
pub fn current(&self) -> TimeKeeperSafe {
TimeKeeperSafe::new(
self.timekeeper.genesis_ts,