fix stale activity log (#5465)

This commit is contained in:
Jacek Sieka 2023-09-30 15:31:08 +02:00 committed by GitHub
parent 8aaea1a14e
commit 9a48e2e922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ proc doppelgangerActivity*(validator: AttachedValidator, epoch: Epoch) =
validator = shortLog(validator), activity, epoch validator = shortLog(validator), activity, epoch
return return
if activity - epoch > 1: if epoch - activity > 1:
# We missed work in some epoch # We missed work in some epoch
debug "Doppelganger stale activity", debug "Doppelganger stale activity",
validator = shortLog(validator), activity, epoch validator = shortLog(validator), activity, epoch