mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
itest: make sure invoice is settled in multi hop htlc test
This commit is contained in:
parent
775032de29
commit
9ae4511a6f
@ -1371,6 +1371,9 @@ func runMultiHopHtlcAggregation(ht *lntest.HarnessTest,
|
|||||||
resp := carol.RPC.AddInvoice(invoice)
|
resp := carol.RPC.AddInvoice(invoice)
|
||||||
ht.CompletePaymentRequests(alice, []string{resp.PaymentRequest})
|
ht.CompletePaymentRequests(alice, []string{resp.PaymentRequest})
|
||||||
|
|
||||||
|
// Make sure Carol has settled the invoice.
|
||||||
|
ht.AssertInvoiceSettled(carol, resp.PaymentAddr)
|
||||||
|
|
||||||
// With the network active, we'll now add a new hodl invoices at both
|
// With the network active, we'll now add a new hodl invoices at both
|
||||||
// Alice's and Carol's end. Make sure the cltv expiry delta is large
|
// Alice's and Carol's end. Make sure the cltv expiry delta is large
|
||||||
// enough, otherwise Bob won't send out the outgoing htlc.
|
// enough, otherwise Bob won't send out the outgoing htlc.
|
||||||
|
Loading…
Reference in New Issue
Block a user