mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-04 18:52:44 +02:00
multi: rename chan DB Open method to OpenForTesting
This commit is contained in:
@@ -41,11 +41,7 @@ func (m *mockDataParser) InlineParseCustomData(msg proto.Message) error {
|
||||
|
||||
func TestAuxDataParser(t *testing.T) {
|
||||
// We create an empty channeldb, so we can fetch some channels.
|
||||
cdb, err := channeldb.Open(t.TempDir())
|
||||
require.NoError(t, err)
|
||||
t.Cleanup(func() {
|
||||
require.NoError(t, cdb.Close())
|
||||
})
|
||||
cdb := channeldb.OpenForTesting(t, t.TempDir())
|
||||
|
||||
r := &rpcServer{
|
||||
server: &server{
|
||||
|
Reference in New Issue
Block a user