diff --git a/config.go b/config.go index 828268a9..f256de60 100644 --- a/config.go +++ b/config.go @@ -646,6 +646,7 @@ func loadConfig() (*config, []string, error) { cfg.DataDir = cleanAndExpandPath(cfg.DataDir) var oldTestNets []string oldTestNets = append(oldTestNets, filepath.Join(cfg.DataDir, "testnet")) + oldTestNets = append(oldTestNets, filepath.Join(cfg.DataDir, "testnet2")) cfg.DataDir = filepath.Join(cfg.DataDir, activeNetParams.Name) logRotator = nil if !cfg.NoFileLogging {