From a33474ca0e7224ac339b20d6a1e9724cbd32b522 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Tue, 3 Dec 2019 12:33:14 +0100 Subject: [PATCH] invoices: update NotifyExitHop method comment --- invoices/invoiceregistry.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/invoices/invoiceregistry.go b/invoices/invoiceregistry.go index 9f56fe7d1..f388a666b 100644 --- a/invoices/invoiceregistry.go +++ b/invoices/invoiceregistry.go @@ -412,9 +412,8 @@ func (i *InvoiceRegistry) LookupInvoice(rHash lntypes.Hash) (channeldb.Invoice, return i.cdb.LookupInvoice(rHash) } -// NotifyExitHopHtlc attempts to mark an invoice as settled. If the invoice is a -// debug invoice, then this method is a noop as debug invoices are never fully -// settled. The return value describes how the htlc should be resolved. +// NotifyExitHopHtlc attempts to mark an invoice as settled. The return value +// describes how the htlc should be resolved. // // When the preimage of the invoice is not yet known (hodl invoice), this // function moves the invoice to the accepted state. When SettleHoldInvoice is