Skip to content

Commit 27a2b1a

Browse files
committed
loopd: fix setting of max parts
1 parent 33a049f commit 27a2b1a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

loopd/utils.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ func getClient(config *config, lnd *lndclient.LndServices) (*loop.Client,
1919
}
2020

2121
clientConfig := &loop.ClientConfig{
22-
ServerAddress: config.SwapServer,
23-
ProxyAddress: config.Proxy,
24-
Insecure: config.Insecure,
25-
TLSPathServer: config.TLSPathSwapSrv,
26-
Lnd: lnd,
27-
MaxLsatCost: btcutil.Amount(config.MaxLSATCost),
28-
MaxLsatFee: btcutil.Amount(config.MaxLSATFee),
22+
ServerAddress: config.SwapServer,
23+
ProxyAddress: config.Proxy,
24+
Insecure: config.Insecure,
25+
TLSPathServer: config.TLSPathSwapSrv,
26+
Lnd: lnd,
27+
MaxLsatCost: btcutil.Amount(config.MaxLSATCost),
28+
MaxLsatFee: btcutil.Amount(config.MaxLSATFee),
29+
LoopOutMaxParts: config.LoopOutMaxParts,
2930
}
3031

3132
swapClient, cleanUp, err := loop.NewClient(storeDir, clientConfig)

0 commit comments

Comments
 (0)