invoices: update NotifyExitHop method comment
This commit is contained in:
parent
6c07902a63
commit
a33474ca0e
@ -412,9 +412,8 @@ func (i *InvoiceRegistry) LookupInvoice(rHash lntypes.Hash) (channeldb.Invoice,
|
|||||||
return i.cdb.LookupInvoice(rHash)
|
return i.cdb.LookupInvoice(rHash)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NotifyExitHopHtlc attempts to mark an invoice as settled. If the invoice is a
|
// NotifyExitHopHtlc attempts to mark an invoice as settled. The return value
|
||||||
// debug invoice, then this method is a noop as debug invoices are never fully
|
// describes how the htlc should be resolved.
|
||||||
// settled. The return value describes how the htlc should be resolved.
|
|
||||||
//
|
//
|
||||||
// When the preimage of the invoice is not yet known (hodl invoice), this
|
// When the preimage of the invoice is not yet known (hodl invoice), this
|
||||||
// function moves the invoice to the accepted state. When SettleHoldInvoice is
|
// function moves the invoice to the accepted state. When SettleHoldInvoice is
|
||||||
|
Loading…
Reference in New Issue
Block a user