mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-15 17:15:37 +00:00
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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user