Procházet zdrojové kódy

fix mistake in TimeKeeperSafe::current

y před 2 roky
rodič
revize
f85cd257a0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,
         )
     }