pass in net params during channeldb initialization
This commit is contained in:
parent
3e3c028313
commit
ea49b15e70
2
lnd.go
2
lnd.go
@ -56,7 +56,7 @@ func main() {
|
||||
|
||||
// Open the channeldb, which is dedicated to storing channel, and
|
||||
// network related meta-data.
|
||||
chanDB, err := channeldb.Open(loadedConfig.DataDir)
|
||||
chanDB, err := channeldb.Open(loadedConfig.DataDir, activeNetParams)
|
||||
if err != nil {
|
||||
fmt.Println("unable to open channeldb: ", err)
|
||||
os.Exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user