From 337be9124f05e74ea86c59e1878f9a3488c9ee6b Mon Sep 17 00:00:00 2001 From: metacubex Date: Wed, 11 Jan 2023 00:01:28 +0800 Subject: [PATCH] chore: clean code --- adapter/outbound/vmess.go | 1 - 1 file changed, 1 deletion(-) diff --git a/adapter/outbound/vmess.go b/adapter/outbound/vmess.go index 08fd9f37..4d3bb3d7 100644 --- a/adapter/outbound/vmess.go +++ b/adapter/outbound/vmess.go @@ -116,7 +116,6 @@ func (v *Vmess) StreamConn(c net.Conn, metadata *C.Metadata) (net.Conn, error) { if len(v.option.Fingerprint) == 0 { wsOpts.TLSConfig = tlsC.GetGlobalFingerprintTLCConfig(tlsConfig) } else { - var err error if wsOpts.TLSConfig, err = tlsC.GetSpecifiedFingerprintTLSConfig(tlsConfig, v.option.Fingerprint); err != nil { return nil, err }