mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
multi: rename chan DB Open method to OpenForTesting
This commit is contained in:
@@ -914,11 +914,8 @@ func createTestChannelsForVectors(tc *testContext, chanType channeldb.ChannelTyp
|
||||
)
|
||||
|
||||
// Create temporary databases.
|
||||
dbRemote, err := channeldb.Open(t.TempDir())
|
||||
require.NoError(t, err)
|
||||
|
||||
dbLocal, err := channeldb.Open(t.TempDir())
|
||||
require.NoError(t, err)
|
||||
dbRemote := channeldb.OpenForTesting(t, t.TempDir())
|
||||
dbLocal := channeldb.OpenForTesting(t, t.TempDir())
|
||||
|
||||
// Create the initial commitment transactions for the channel.
|
||||
feePerKw := chainfee.SatPerKWeight(feeRate)
|
||||
|
Reference in New Issue
Block a user