mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
add missing rand seed
This commit is contained in:
parent
73fc234634
commit
964ce76658
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ func uploadAndSync(c *cli.Context) error {
|
||||||
|
|
||||||
wg := sync.WaitGroup{}
|
wg := sync.WaitGroup{}
|
||||||
if single {
|
if single {
|
||||||
|
rand.Seed(time.Now().UTC().UnixNano())
|
||||||
randIndex := 1 + rand.Intn(len(endpoints)-1)
|
randIndex := 1 + rand.Intn(len(endpoints)-1)
|
||||||
ruid := uuid.New()[:8]
|
ruid := uuid.New()[:8]
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue