Prechádzať zdrojové kódy

fix mistake in TimeKeeperSafe::current

y 2 rokov pred
rodič
commit
f85cd257a0
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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,
         )
     }