From 27a2b1a775ac3dedb3b5337ea13255ba1eca65f5 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Tue, 12 May 2020 09:31:50 +0200 Subject: [PATCH] loopd: fix setting of max parts --- loopd/utils.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/loopd/utils.go b/loopd/utils.go index bdd70ce..0af6eab 100644 --- a/loopd/utils.go +++ b/loopd/utils.go @@ -19,13 +19,14 @@ func getClient(config *config, lnd *lndclient.LndServices) (*loop.Client, } clientConfig := &loop.ClientConfig{ - ServerAddress: config.SwapServer, - ProxyAddress: config.Proxy, - Insecure: config.Insecure, - TLSPathServer: config.TLSPathSwapSrv, - Lnd: lnd, - MaxLsatCost: btcutil.Amount(config.MaxLSATCost), - MaxLsatFee: btcutil.Amount(config.MaxLSATFee), + ServerAddress: config.SwapServer, + ProxyAddress: config.Proxy, + Insecure: config.Insecure, + TLSPathServer: config.TLSPathSwapSrv, + Lnd: lnd, + MaxLsatCost: btcutil.Amount(config.MaxLSATCost), + MaxLsatFee: btcutil.Amount(config.MaxLSATFee), + LoopOutMaxParts: config.LoopOutMaxParts, } swapClient, cleanUp, err := loop.NewClient(storeDir, clientConfig)