mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 19:39:35 +03:00
Chore: Use a more direct and less error-prone return value (#4008)
Signed-off-by: pinglanlu <pinglanlu@outlook.com>
This commit is contained in:
@ -51,5 +51,5 @@ func (c *Config) getCertPool() (*x509.CertPool, error) {
|
||||
return nil, errors.New("append cert to root").AtWarning().Base(err)
|
||||
}
|
||||
}
|
||||
return pool, err
|
||||
return pool, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user