prysmaticlabs / prysm

Unused code SCC-U1000
Bug risk
Major
3 occurrences in this check
func (*CommitteeCache[K, V]).missCache is unused
103}
104
105// missCache increments the cache miss counter.
106func (c *CommitteeCache[K, V]) missCache() { //nolint: unused, -- bug in golangci-lint v1.55.2107	c.promCacheMiss.Inc()
108}
109
func (*CommitteeCache[K, V]).hitCache is unused
 98}
 99
100// hitCache increments the cache miss counter.
101func (c *CommitteeCache[K, V]) hitCache() { //nolint: unused, -- bug in golangci-lint v1.55.2102	c.promCacheHit.Inc()
103}
104
func (*CommitteeCache[K, V]).get is unused
 93}
 94
 95// get returns the underlying lru cache.
 96func (c *CommitteeCache[K, V]) get() *lru.Cache[K, V] { //nolint: unused, -- bug in golangci-lint v1.55.2 97	return c.lru
 98}
 99