lntest: move default channeldb path

This commit is contained in:
Conner Fromknecht 2018-01-05 13:44:04 -08:00 committed by Olaoluwa Osuntokun
parent 84c947edeb
commit db7d902bbb

View File

@ -114,7 +114,7 @@ func (cfg nodeConfig) RESTAddr() string {
}
func (cfg nodeConfig) DBPath() string {
return filepath.Join(cfg.DataDir, cfg.NetParams.Name, "bitcoin/channel.db")
return filepath.Join(cfg.DataDir, "graph", "simnet/channel.db")
}
// genArgs generates a slice of command line arguments from the lightning node