prysmaticlabs / prysm

Issues with cancel func returned by context.WithCancel VET-V0011
Bug risk
Major
1 occurrence in this check
this return statement may be reached without using the cancel var defined on line 88
 77			span.End()
 78			sub.Unsubscribe()
 79			close(accountsChangedChan)
 80			return // Exit if context is canceled. 81		case slot := <-v.NextSlot():
 82			if !healthTracker.IsHealthy() {
 83				continue