channeldb: remove hardcoded netparams

This commit is contained in:
Olaoluwa Osuntokun
2016-04-24 12:35:52 -07:00
parent 1e35018e89
commit fa1e7a332f
4 changed files with 13 additions and 9 deletions

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)
cdb, err := Open(dbPath, netParams)
if err != nil {
t.Fatalf("unable to create channeldb: %v", err)
}