channeldb: Open is no longer dependant on a specific set of chain params
This commit is contained in:
6 files changed
+11
-15
No files matched your search
@@ -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, netParams)
|
||||
cdb, err := Open(dbPath)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create channeldb: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user