From 6308a7e123f11284865de1441925554160ed258d Mon Sep 17 00:00:00 2001 From: y Date: Wed, 6 Sep 2023 11:54:05 -0400 Subject: [PATCH] fix comments --- src/util/time.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/time.rs b/src/util/time.rs index 49b6edc12..99437535b 100644 --- a/src/util/time.rs +++ b/src/util/time.rs @@ -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,