Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Update data directory utils
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptAxe committed Mar 21, 2024
1 parent 43d09be commit 4612c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ fs::path GetDefaultDataDir()
// Unix: ~/.bitcoin
#ifdef WIN32
// Windows
return GetSpecialFolderPath(CSIDL_APPDATA) / "drivechain_launcher_sidechains" / "Testchain";
return GetSpecialFolderPath(CSIDL_APPDATA) / "drivechain_launcher_sidechains" / "testchain";
#else
fs::path pathRet;
char* pszHome = getenv("HOME");
Expand All @@ -590,10 +590,10 @@ fs::path GetDefaultDataDir()
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
// Mac
return pathRet / "Library/Application Support/drivechain_launcher_sidechains/Testchain";
return pathRet / "Library/Application Support/drivechain_launcher_sidechains/testchain";
#else
// Unix
return pathRet / "drivechain_launcher_sidechains" / ".testchain";
return pathRet / "drivechain_launcher_sidechains" / "testchain";
#endif
#endif
}
Expand Down

0 comments on commit 4612c41

Please sign in to comment.