Kaynağa Gözat

fix mistake in TimeKeeperSafe::current

y 2 yıl önce
ebeveyn
işleme
f85cd257a0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/util/time.rs

+ 1 - 1
src/util/time.rs

@@ -159,7 +159,7 @@ impl TimeKeeperSafe {
             self.timekeeper.genesis_ts,
             self.timekeeper.epoch_length,
             self.timekeeper.slot_time,
-            self.timekeeper.current_slot(),
+            self.timekeeper.verifying_slot,
         )
     }