d2e395d5f2
This commit moves handling of invoice not found errors into NotifyExitHopHtlc and exposes a resolution result to the calling functions. The intention of this change is to make calling functions as naive of the invoice registry's mechanics as possible. When NotifyExitHopHtlc is called and an invoice is not found, calling functions can take action based on the HtlcResolution's InvoiceNotFound outcome rather than having to add a special error check on every call to handle the error. |
||
---|---|---|
.. | ||
interface.go | ||
invoice_expiry_watcher_test.go | ||
invoice_expiry_watcher.go | ||
invoiceregistry_test.go | ||
invoiceregistry.go | ||
log.go | ||
test_utils_test.go | ||
update.go |