Ver Fonte

fix mistake in TimeKeeperSafe::current

y há 2 anos atrás
pai
commit
f85cd257a0
1 ficheiros alterados com 1 adições e 1 exclusões
  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,
         )
     }