prysmaticlabs / prysm

String concatenation can be simplified GO-R4003
Anti-pattern
Major
2 months agoa year old
suggestion: strconv.FormatUint(uint64(req.Epoch), 10) + "," + hex.EncodeToString(req.Domain)
 871		Domain: domain,
 872	}
 873
 874	key := strings.Join([]string{strconv.FormatUint(uint64(req.Epoch), 10), hex.EncodeToString(req.Domain)}, ",") 875
 876	if val, ok := v.domainDataCache.Get(key); ok {
 877		v.domainDataLock.RUnlock()