mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 22:21:18 +02:00
Merge pull request #9684 from ziggie1984/master
multi: update new walletdb version in main go.mod and kvdb go.mod
This commit is contained in:
@@ -757,7 +757,8 @@ var interfaceImpls = []struct {
|
||||
|
||||
dbName := filepath.Join(spvDir, "neutrino.db")
|
||||
spvDatabase, err := walletdb.Create(
|
||||
"bdb", dbName, true, kvdb.DefaultDBTimeout,
|
||||
kvdb.BoltBackendName, dbName, true,
|
||||
kvdb.DefaultDBTimeout, false,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
@@ -152,6 +152,7 @@ func (c *integratedRoutingContext) testPayment(maxParts uint32,
|
||||
|
||||
db, err := kvdb.Open(
|
||||
kvdb.BoltBackendName, dbPath, true, kvdb.DefaultDBTimeout,
|
||||
false,
|
||||
)
|
||||
if err != nil {
|
||||
c.t.Fatal(err)
|
||||
|
@@ -54,6 +54,7 @@ func newMCStoreTestHarness(t testing.TB, maxRecords int,
|
||||
|
||||
db, err := kvdb.Create(
|
||||
kvdb.BoltBackendName, dbPath, true, kvdb.DefaultDBTimeout,
|
||||
false,
|
||||
)
|
||||
require.NoError(t, err)
|
||||
t.Cleanup(func() {
|
||||
|
@@ -72,6 +72,7 @@ func createMcTestContext(t *testing.T) *mcTestContext {
|
||||
|
||||
ctx.db, err = kvdb.Open(
|
||||
kvdb.BoltBackendName, ctx.dbPath, true, kvdb.DefaultDBTimeout,
|
||||
false,
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Reference in New Issue
Block a user