Skip to content

Commit f36d5a7

Browse files
authored
Merge pull request #196 from joostjager/fix-multi-loop-out
loopd: fix setting of max parts
2 parents 33a049f + 27a2b1a commit f36d5a7

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)