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
121	// Mix in current epoch
122	b := make([]byte, 8)
123	binary.LittleEndian.PutUint64(b, uint64(currentEpoch))
124	key := append(r, b...)125
126	// Mix in validator count
127	b = make([]byte, 8)