Fix random seed

This commit is contained in:
世界
2022-09-27 20:29:17 +08:00
parent 0ea767a809
commit 1f70aeb6ef
2 changed files with 3 additions and 2 deletions

View File

@@ -9,10 +9,11 @@ import (
"time"
B "github.com/sagernet/sing/common/buf"
"github.com/sagernet/sing/common/random"
)
func init() {
rand.Seed(time.Now().Unix())
random.InitializeSeed()
}
const (