From 794916cde512deb398b92ccdc98047653f67b6d6 Mon Sep 17 00:00:00 2001 From: spletka Date: Tue, 5 Sep 2023 14:52:04 +0200 Subject: [PATCH] (BIDS-2434) Fixed wrong attesterSlot usage --- db/bigtable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/bigtable.go b/db/bigtable.go index 21aa63c174..5a044a7281 100644 --- a/db/bigtable.go +++ b/db/bigtable.go @@ -975,7 +975,7 @@ func (bigtable *Bigtable) GetValidatorAttestationHistory(validators []uint64, st } missedSlotsCount := uint64(0) - for slot := currentAttInfo.AttesterSlot + 1; slot < currentAttInfo.InclusionSlot; slot++ { + for slot := attesterSlot + 1; slot < currentAttInfo.InclusionSlot; slot++ { if missedSlotsMap[slot] || orphanedSlotsMap[slot] { missedSlotsCount++ }