loopd: fix setting of max parts

pull/196/head
Joost Jager 4 years ago
parent 33a049f8e9
commit 27a2b1a775
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -19,13 +19,14 @@ func getClient(config *config, lnd *lndclient.LndServices) (*loop.Client,
} }
clientConfig := &loop.ClientConfig{ clientConfig := &loop.ClientConfig{
ServerAddress: config.SwapServer, ServerAddress: config.SwapServer,
ProxyAddress: config.Proxy, ProxyAddress: config.Proxy,
Insecure: config.Insecure, Insecure: config.Insecure,
TLSPathServer: config.TLSPathSwapSrv, TLSPathServer: config.TLSPathSwapSrv,
Lnd: lnd, Lnd: lnd,
MaxLsatCost: btcutil.Amount(config.MaxLSATCost), MaxLsatCost: btcutil.Amount(config.MaxLSATCost),
MaxLsatFee: btcutil.Amount(config.MaxLSATFee), MaxLsatFee: btcutil.Amount(config.MaxLSATFee),
LoopOutMaxParts: config.LoopOutMaxParts,
} }
swapClient, cleanUp, err := loop.NewClient(storeDir, clientConfig) swapClient, cleanUp, err := loop.NewClient(storeDir, clientConfig)

Loading…
Cancel
Save