mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
sqldb+invoices: move SQL invoice store impl to invoices package
This commit is contained in:
@@ -240,14 +240,14 @@ func TestInvoices(t *testing.T) {
|
||||
}
|
||||
|
||||
executor := sqldb.NewTransactionExecutor(
|
||||
db, func(tx *sql.Tx) sqldb.InvoiceQueries {
|
||||
db, func(tx *sql.Tx) invpkg.SQLInvoiceQueries {
|
||||
return db.WithTx(tx)
|
||||
},
|
||||
)
|
||||
|
||||
testClock := clock.NewTestClock(testNow)
|
||||
|
||||
return sqldb.NewInvoiceStore(executor, testClock)
|
||||
return invpkg.NewSQLStore(executor, testClock)
|
||||
}
|
||||
|
||||
for _, test := range testList {
|
||||
|
Reference in New Issue
Block a user