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

2
lnd.go
View File

@ -60,7 +60,7 @@ func lndMain() error {
// Open the channeldb, which is dedicated to storing channel, and
// network related meta-data.
chanDB, err := channeldb.Open(cfg.DataDir, activeNetParams.Params)
chanDB, err := channeldb.Open(cfg.DataDir)
if err != nil {
fmt.Println("unable to open channeldb: ", err)
return err