channeldb: remove hardcoded netparams
This commit is contained in:
1 parent
1e35018e89
commit
fa1e7a332f
4 files changed
+13
-9
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)
|
||||
cdb, err := Open(dbPath, netParams)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create channeldb: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user