prysmaticlabs / prysm

Hidden goroutine GO-E1007
Bug risk
Critical
1 occurrence in this check
Remove the internal goroutine and call the function using 'go'
211
212// PruneBlobsBundleCacheRoutine prunes the blobs bundle cache at 6s mark of the slot.
213func (vs *Server) PruneBlobsBundleCacheRoutine() {
214	go func() {215		clock, err := vs.ClockWaiter.WaitForClock(vs.Ctx)
216		if err != nil {
217			log.WithError(err).Error("PruneBlobsBundleCacheRoutine failed to receive genesis data")