fix stale activity log (#5465)
This commit is contained in:
parent
8aaea1a14e
commit
9a48e2e922
|
@ -314,7 +314,7 @@ proc doppelgangerActivity*(validator: AttachedValidator, epoch: Epoch) =
|
|||
validator = shortLog(validator), activity, epoch
|
||||
return
|
||||
|
||||
if activity - epoch > 1:
|
||||
if epoch - activity > 1:
|
||||
# We missed work in some epoch
|
||||
debug "Doppelganger stale activity",
|
||||
validator = shortLog(validator), activity, epoch
|
||||
|
|
Loading…
Reference in New Issue