mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge #7850: Removed call to TryCreateDirectory from GetDefaultDataDir in src/util.cpp.
41dbc48 Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`. (Alexander Regueiro)
This commit is contained in:
commit
229a17ca91
1 changed files with 1 additions and 3 deletions
|
|
@ -471,9 +471,7 @@ boost::filesystem::path GetDefaultDataDir()
|
|||
pathRet = fs::path(pszHome);
|
||||
#ifdef MAC_OSX
|
||||
// Mac
|
||||
pathRet /= "Library/Application Support";
|
||||
TryCreateDirectory(pathRet);
|
||||
return pathRet / "Bitcoin";
|
||||
return pathRet / "Library/Application Support/Bitcoin";
|
||||
#else
|
||||
// Unix
|
||||
return pathRet / ".bitcoin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue