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

This commit is contained in:
Olaoluwa Osuntokun
2016-12-22 12:09:19 -08:00
parent 587bde5636
commit 597b4ee3d3
6 changed files with 11 additions and 15 deletions

View File

@@ -326,7 +326,7 @@ func createTestWallet(tempTestDir string, miningNode *rpctest.Harness,
bio lnwallet.BlockChainIO) (*lnwallet.LightningWallet, error) {
dbDir := filepath.Join(tempTestDir, "cdb")
cdb, err := channeldb.Open(dbDir, &chaincfg.SegNet4Params)
cdb, err := channeldb.Open(dbDir)
if err != nil {
return nil, err
}