channeldb: add k/v implementation for InvoiceDB.DeleteCanceledInvoices method

This commit is contained in:
Andras Banki-Horvath
2023-10-10 22:23:50 +02:00
parent 1f8065de35
commit 8ab267ad90
4 changed files with 165 additions and 0 deletions

View File

@@ -85,3 +85,9 @@ func (m *MockInvoiceDB) DeleteInvoice(invoices []InvoiceDeleteRef) error {
return args.Error(0)
}
func (m *MockInvoiceDB) DeleteCanceledInvoices(ctx context.Context) error {
args := m.Called(ctx)
return args.Error(0)
}