adds more logging to validator

This commit is contained in:
Marcin Czenko 2024-10-14 06:31:07 +02:00
parent 158b0c8dbc
commit 98245ed626
No known key found for this signature in database
GPG Key ID: 33DEA0C8E30937C0
1 changed files with 3 additions and 1 deletions

View File

@ -119,7 +119,9 @@ proc markProofsAsMissing(validation: Validation) {.async.} =
proc run(validation: Validation) {.async.} =
trace "Validation started", groups = validation.config.groups,
groupIndex = validation.config.groupIndex
groupIndex = validation.config.groupIndex,
currentTime = validation.clock.now,
currentTime = validation.clock.now.fromUnix
try:
while true:
await validation.waitUntilNextPeriod()