()
| 157 | } |
| 158 | |
| 159 | func newTestVrfValue() vconfig.VRFValue { |
| 160 | v := make([]byte, 1024) |
| 161 | rand.Read(v[:]) |
| 162 | t := sha512.Sum512(v) |
| 163 | f := sha512.Sum512(t[:]) |
| 164 | return vconfig.VRFValue(f) |
| 165 | } |
| 166 | |
| 167 | func TestCalcParticipantPeers(t *testing.T) { |
| 168 | for i := 4; i < 100; i++ { |
no outgoing calls
no test coverage detected