Merge pull request #727 from hieblmi/send-prepay-to-selected-channel

Send loop out prepay over selected outgoing chan set
pull/560/merge
Slyghtning 2 weeks ago committed by GitHub
commit f8ff35c0f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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