mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
invoices: refactor - add interface for expiry items
In preparation for having more than one expiry type, we alias the queue.PrioirtyQueueItem interface for readability.
This commit is contained in:
@@ -157,7 +157,7 @@ func TestInvoiceExpiryWhenAddingMultipleInvoices(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
test := newInvoiceExpiryWatcherTest(t, testTime, 5, 5)
|
||||
var invoices []*invoiceExpiryTs
|
||||
var invoices []invoiceExpiry
|
||||
|
||||
for hash, invoice := range test.testData.expiredInvoices {
|
||||
invoices = append(invoices, makeInvoiceExpiry(hash, invoice))
|
||||
|
Reference in New Issue
Block a user