mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
multi: increase test coverage payments
The BOLT spec was updated and now requires the payment address for the writer and reader. We increase the test coverage for payments setting a wrong payment address.
This commit is contained in:
@@ -1038,7 +1038,11 @@ func (i *InvoiceRegistry) notifyExitHopHtlcLocked(
|
||||
)
|
||||
switch {
|
||||
case errors.Is(err, ErrInvoiceNotFound) ||
|
||||
errors.Is(err, ErrNoInvoicesCreated):
|
||||
errors.Is(err, ErrNoInvoicesCreated) ||
|
||||
errors.Is(err, ErrInvRefEquivocation):
|
||||
|
||||
log.Debugf("Invoice not found with error: %v, failing htlc",
|
||||
err)
|
||||
|
||||
// If the invoice was not found, return a failure resolution
|
||||
// with an invoice not found result.
|
||||
|
||||
Reference in New Issue
Block a user