invoices+htlcswitch+lnrpc: cancel invoice
This commit is contained in:
13 files changed
+1020
-590
No files matched your search
@@ -20,6 +20,10 @@ type InvoiceDatabase interface {
|
||||
// SettleInvoice attempts to mark an invoice corresponding to the
|
||||
// passed payment hash as fully settled.
|
||||
SettleInvoice(payHash lntypes.Hash, paidAmount lnwire.MilliSatoshi) error
|
||||
|
||||
// CancelInvoice attempts to cancel the invoice corresponding to the
|
||||
// passed payment hash.
|
||||
CancelInvoice(payHash lntypes.Hash) error
|
||||
}
|
||||
|
||||
// ChannelLink is an interface which represents the subsystem for managing the
|
||||
|
||||
Reference in new issue
Block a user