mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopout: send prepay over outgoing chan set
This commit is contained in:
parent
54a6f157f1
commit
1cea76bf01
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue