channeldb: Open is no longer dependant on a specific set of chain params

This commit is contained in:
Olaoluwa Osuntokun committed 2016-12-27 16:43:19 -08:00
1 parent 587bde5636
commit 597b4ee3d3
6 files changed
+11 -15

No files matched your search

+1 -1
View File
@@ -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)
}