diff --git a/backend/pkg/commons/db/bigtable.go b/backend/pkg/commons/db/bigtable.go index c7a09b2c3..ff4de7833 100644 --- a/backend/pkg/commons/db/bigtable.go +++ b/backend/pkg/commons/db/bigtable.go @@ -618,7 +618,7 @@ func (bigtable *Bigtable) SaveAttestationDuties(duties map[types.Slot]map[types. mutsInclusionSlot.Add(key, mutInclusionSlot) - if inclusionSlot != MAX_CL_BLOCK_NUMBER && uint64(attestedSlot) > bigtable.LastAttestationCache[uint64(validator)] { + if inclusionSlot != MAX_CL_BLOCK_NUMBER && inclusionSlot != attestedSlot && uint64(attestedSlot) > bigtable.LastAttestationCache[uint64(validator)] { mutLastAttestationSlot.Set(ATTESTATIONS_FAMILY, fmt.Sprintf("%d", validator), gcp_bigtable.Timestamp((attestedSlot)*1000), []byte{}) bigtable.LastAttestationCache[uint64(validator)] = uint64(attestedSlot) mutLastAttestationSlotCount++