Skip to content

Commit

Permalink
Fix condition issue for near genesis waiting loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatfate committed Apr 16, 2023
1 parent 5740df5 commit 5be531a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_chain/nimbus_validator_client.nim
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ proc runGenesisWaitingLoop(vc: ValidatorClientRef) {.async.} =
while not(breakLoop):
let genesisTime = vc.beaconClock.fromNow(Slot(0))

if genesisTime.inFuture:
if not(genesisTime.inFuture):
break

notice "Waiting for genesis",
Expand Down

0 comments on commit 5be531a

Please sign in to comment.