Skip to content

Commit d5fdcfc

Browse files
committed
SLOT_DURATION.
1 parent cc0b800 commit d5fdcfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/sync/sync_overseer2.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ proc getStatusPeriod*(
968968
localHead = dag.head.bid
969969
peerHead = peer.getHeadBlockId()
970970
peerFinalizedCheckpoint = peer.getFinalizedCheckpoint()
971-
secondsPerSlot = int(dag.cfg.timeParams.SECONDS_PER_SLOT)
971+
secondsPerSlot = int(dag.cfg.timeParams.SLOT_DURATION.seconds)
972972

973973
if peerFinalizedCheckpoint.epoch < overseer.lastSeenCheckpoint.get.epoch:
974974
# Peer is not in sync with the network.

0 commit comments

Comments
 (0)