mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
graph/db: update outdated comments
This commit is contained in:
@@ -12,8 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// NewTestDB is a helper function that creates a SQLStore backed by a postgres
|
// NewTestDB is a helper function that creates a SQLStore backed by a postgres
|
||||||
// database for testing. At the moment, it embeds a KVStore but once the
|
// database for testing.
|
||||||
// SQLStore fully implements the V1Store interface, the KVStore will be removed.
|
|
||||||
func NewTestDB(t testing.TB) V1Store {
|
func NewTestDB(t testing.TB) V1Store {
|
||||||
pgFixture := sqldb.NewTestPgFixture(
|
pgFixture := sqldb.NewTestPgFixture(
|
||||||
t, sqldb.DefaultPostgresFixtureLifetime,
|
t, sqldb.DefaultPostgresFixtureLifetime,
|
||||||
|
@@ -12,8 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// NewTestDB is a helper function that creates a SQLStore backed by a sqlite
|
// NewTestDB is a helper function that creates a SQLStore backed by a sqlite
|
||||||
// database for testing. At the moment, it embeds a KVStore but once the
|
// database for testing.
|
||||||
// SQLStore fully implements the V1Store interface, the KVStore will be removed.
|
|
||||||
func NewTestDB(t testing.TB) V1Store {
|
func NewTestDB(t testing.TB) V1Store {
|
||||||
db := sqldb.NewTestSqliteDB(t).BaseDB
|
db := sqldb.NewTestSqliteDB(t).BaseDB
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user