Update validator_duties.nim (Improve node out of sync message) (#1933)

* Update validator_duties.nim

Improve node out of sync message

* Update validator_duties.nim
This commit is contained in:
Sacha Saint-Leger 2020-11-02 08:52:16 +01:00 committed by GitHub
parent 446f8cc738
commit 7294d98ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ proc handleValidatorDuties*(node: BeaconNode, lastSlot, slot: Slot) {.async.} =
# await calls, thus we use a local variable to keep the logic straight here # await calls, thus we use a local variable to keep the logic straight here
var head = node.chainDag.head var head = node.chainDag.head
if not node.isSynced(head): if not node.isSynced(head):
notice "Node out of sync, skipping validator duties", notice "Syncing in progress; skipping validator duties for now",
slot, headSlot = head.slot slot, headSlot = head.slot
return return