mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-09 20:32:38 +02:00
channeldb: remove hardcoded netparams
This commit is contained in:
@@ -18,7 +18,7 @@ func TestOpenWithCreate(t *testing.T) {
|
||||
|
||||
// Next, open thereby creating channeldb for the first time.
|
||||
dbPath := filepath.Join(tempDirName, "cdb")
|
||||
cdb, err := Open(dbPath)
|
||||
cdb, err := Open(dbPath, netParams)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create channeldb: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user