prysmaticlabs / prysm

append possibly assigns to a wrong variable CRT-D0001
Bug risk
Minor
1 occurrence in this check
append result not assigned to the same slice
32	// Mix in current epoch
33	b := make([]byte, 8)
34	binary.LittleEndian.PutUint64(b, uint64(currentEpoch))
35	key := append(r, b...)36
37	// Mix in validator count
38	b = make([]byte, 8)