prysmaticlabs / prysm

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