diff --git a/lntest/node.go b/lntest/node.go index f73e2900..0b9308e2 100644 --- a/lntest/node.go +++ b/lntest/node.go @@ -126,7 +126,8 @@ func (cfg nodeConfig) RESTAddr() string { } func (cfg nodeConfig) DBPath() string { - return filepath.Join(cfg.DataDir, "graph", "simnet/channel.db") + return filepath.Join(cfg.DataDir, "graph", + fmt.Sprintf("%v/channel.db", cfg.NetParams.Name)) } // genArgs generates a slice of command line arguments from the lightning node