mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
multi: rename chan DB Open method to OpenForTesting
This commit is contained in:
@@ -427,10 +427,7 @@ func createTestFundingManager(t *testing.T, privKey *btcec.PrivateKey,
|
||||
}
|
||||
|
||||
dbDir := filepath.Join(tempTestDir, "cdb")
|
||||
fullDB, err := channeldb.Open(dbDir)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
fullDB := channeldb.OpenForTesting(t, dbDir)
|
||||
|
||||
cdb := fullDB.ChannelStateDB()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user