|
|
@ -363,7 +363,7 @@ func (s *swapClientServer) GetLoopInQuote(ctx context.Context,
|
|
|
|
|
|
|
|
|
|
|
|
quote, err := s.impl.LoopInQuote(ctx, &loop.LoopInQuoteRequest{
|
|
|
|
quote, err := s.impl.LoopInQuote(ctx, &loop.LoopInQuoteRequest{
|
|
|
|
Amount: btcutil.Amount(req.Amt),
|
|
|
|
Amount: btcutil.Amount(req.Amt),
|
|
|
|
HtlcConfTarget: defaultConfTarget,
|
|
|
|
HtlcConfTarget: loop.DefaultHtlcConfTarget,
|
|
|
|
ExternalHtlc: req.ExternalHtlc,
|
|
|
|
ExternalHtlc: req.ExternalHtlc,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
@ -385,7 +385,7 @@ func (s *swapClientServer) LoopIn(ctx context.Context,
|
|
|
|
Amount: btcutil.Amount(in.Amt),
|
|
|
|
Amount: btcutil.Amount(in.Amt),
|
|
|
|
MaxMinerFee: btcutil.Amount(in.MaxMinerFee),
|
|
|
|
MaxMinerFee: btcutil.Amount(in.MaxMinerFee),
|
|
|
|
MaxSwapFee: btcutil.Amount(in.MaxSwapFee),
|
|
|
|
MaxSwapFee: btcutil.Amount(in.MaxSwapFee),
|
|
|
|
HtlcConfTarget: defaultConfTarget,
|
|
|
|
HtlcConfTarget: loop.DefaultHtlcConfTarget,
|
|
|
|
ExternalHtlc: in.ExternalHtlc,
|
|
|
|
ExternalHtlc: in.ExternalHtlc,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.LastHop != nil {
|
|
|
|
if in.LastHop != nil {
|
|
|
|