diff --git a/beacon-chain/operations/attestations/kv/kv.go b/beacon-chain/operations/attestations/kv/kv.go index c8b51a57781d..981525c1e2e2 100644 --- a/beacon-chain/operations/attestations/kv/kv.go +++ b/beacon-chain/operations/attestations/kv/kv.go @@ -32,7 +32,7 @@ type AttCaches struct { // various kind of attestations. func NewAttCaches() *AttCaches { secsInEpoch := time.Duration(params.BeaconConfig().SlotsPerEpoch.Mul(params.BeaconConfig().SecondsPerSlot)) - c := cache.New(secsInEpoch*time.Second, 2*secsInEpoch*time.Second) + c := cache.New(2*secsInEpoch*time.Second, 2*secsInEpoch*time.Second) pool := &AttCaches{ unAggregatedAtt: make(map[attestation.Id]ethpb.Att), aggregatedAtt: make(map[attestation.Id][]ethpb.Att),