1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-13 23:08:41 +00:00

Update dependencies

This commit is contained in:
世界 2023-03-20 14:59:13 +08:00
parent 55efac7236
commit 172f353bd7
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
5 changed files with 6 additions and 8 deletions
proxy/shadowsocks_2022

View file

@ -50,7 +50,7 @@ func NewServer(ctx context.Context, config *ServerConfig) (*Inbound, error) {
if !C.Contains(shadowaead_2022.List, config.Method) {
return nil, newError("unsupported method ", config.Method)
}
service, err := shadowaead_2022.NewServiceWithPassword(config.Method, config.Key, 500, inbound)
service, err := shadowaead_2022.NewServiceWithPassword(config.Method, config.Key, 500, inbound, nil)
if err != nil {
return nil, newError("create service").Base(err)
}