loopd: group and clarify swap server parameters

This commit is contained in:
Joost Jager 2020-06-15 11:04:37 +02:00
parent efcf5eee8f
commit b61b886c16
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7
5 changed files with 33 additions and 25 deletions

View file

@ -70,7 +70,7 @@ func newSwapServerClient(cfg *ClientConfig, lsatStore lsat.Store) (
cfg.MaxLsatFee,
)
serverConn, err := getSwapServerConn(
cfg.ServerAddress, cfg.ProxyAddress, cfg.Insecure,
cfg.ServerAddress, cfg.ProxyAddress, cfg.SwapServerNoTLS,
cfg.TLSPathServer, clientInterceptor,
)
if err != nil {