mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
multi: update walletdb package
This commit is contained in:
@@ -3294,8 +3294,9 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver,
|
||||
// Start Alice - open a database, start a neutrino
|
||||
// instance, and initialize a btcwallet driver for it.
|
||||
aliceDB, err := walletdb.Create(
|
||||
"bdb", tempTestDirAlice+"/neutrino.db", true,
|
||||
kvdb.DefaultDBTimeout,
|
||||
kvdb.BoltBackendName,
|
||||
filepath.Join(tempTestDirAlice, "neutrino.db"),
|
||||
true, kvdb.DefaultDBTimeout, false,
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create DB: %v", err)
|
||||
@@ -3323,8 +3324,9 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver,
|
||||
// Start Bob - open a database, start a neutrino
|
||||
// instance, and initialize a btcwallet driver for it.
|
||||
bobDB, err := walletdb.Create(
|
||||
"bdb", tempTestDirBob+"/neutrino.db", true,
|
||||
kvdb.DefaultDBTimeout,
|
||||
kvdb.BoltBackendName,
|
||||
filepath.Join(tempTestDirBob, "neutrino.db"),
|
||||
true, kvdb.DefaultDBTimeout, false,
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create DB: %v", err)
|
||||
|
Reference in New Issue
Block a user