Explorar o código

fix mistake in TimeKeeperSafe::current

y %!s(int64=2) %!d(string=hai) anos
pai
achega
f85cd257a0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
         )
     }