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