remove seed for random number generator, deprecated

This commit is contained in:
Antoni Sawicki 2024-07-01 19:47:52 -07:00
parent 96acf94521
commit 9a0e5809c1

2
wrp.go
View File

@ -655,8 +655,6 @@ func main() {
ctx, cncl = chromedp.NewContext(actx) ctx, cncl = chromedp.NewContext(actx)
defer cncl() defer cncl()
rand.Seed(time.Now().UnixNano())
c := make(chan os.Signal) c := make(chan os.Signal)
signal.Notify(c, os.Interrupt, syscall.SIGTERM) signal.Notify(c, os.Interrupt, syscall.SIGTERM)
go func() { go func() {