mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-16 13:00:37 +02:00
Merge pull request #196 from joostjager/fix-multi-loop-out
loopd: fix setting of max parts
This commit is contained in:
commit
f36d5a79f7
1 changed files with 8 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue