multi: Fix final hop payload size for AMP payments.

This commit is contained in:
ziggie committed 2024-02-03 12:16:06 +00:00
1 parent ff30ff40bf
commit 4732c09a26
7 files changed
+44 -1

No files matched your search

+4
View File
@@ -104,6 +104,10 @@ func testSendPaymentAMPInvoiceCase(ht *lntest.HarnessTest,
// expect an extra invoice to appear in the ListInvoices response, since
// a new invoice will be JIT inserted under a different payment address
// than the one in the invoice.
//
// NOTE: This will only work when the peer has spontaneous AMP payments
// enabled otherwise no invoice under a different payment_addr will be
// found.
var (
expNumInvoices = 1
externalPayAddr []byte