chore: fix err redeclared error in outbound/shadowsocksr.go

This commit is contained in:
kunish 2023-08-09 00:11:38 +08:00
parent 5d85fa16ce
commit b9456ddd64
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -54,7 +54,6 @@ func NewShadowsocksR(ctx context.Context, router adapter.Router, logger log.Cont
serverAddr: options.ServerOptions.Build(),
}
var cipher string
var err error
switch options.Method {
case "none":
cipher = "dummy"