flow-hydraulics / flow-pds

This repository is currently not maintained
4 stars 8 forks source link

Make sure distribution resolving uses proper randomnes #68

Open latenssi opened 2 years ago

latenssi commented 2 years ago

Currently we use rand.New(rand.NewSource(time.Now().UnixNano())) from math/rand to distribute the collectibles in packs. https://github.com/flow-hydraulics/flow-pds/blob/main/service/app/distribution.go#L129

Is this ok?