loopout: send prepay over outgoing chan set

pull/727/head
Slyghtning 2 weeks ago
parent 54a6f157f1
commit 1cea76bf01
No known key found for this signature in database
GPG Key ID: F82D456EA023C9BF

@ -599,11 +599,12 @@ func (s *loopOutSwap) payInvoices(ctx context.Context) {
)
// Pay the prepay invoice. Won't use the routing plugin here as the
// prepay is trivially small and shouldn't normally need any help.
// prepay is trivially small and shouldn't normally need any help. We
// are sending it over the same channel as the loop out payment.
s.log.Infof("Sending prepayment %v", s.PrepayInvoice)
s.prePaymentChan = s.payInvoice(
ctx, s.PrepayInvoice, s.MaxPrepayRoutingFee,
nil, RoutingPluginNone, false,
s.LoopOutContract.OutgoingChanSet, RoutingPluginNone, false,
)
}

Loading…
Cancel
Save