Merge pull request #36 from ch4ot1c/patch/zcashparams

[fixup] Remove TryCreateDirectory for MacOS ZcashParams
This commit is contained in:
Don Shin 2018-07-16 17:15:27 -05:00 committed by GitHub
commit 783b212b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -750,9 +750,7 @@ static boost::filesystem::path ZC_GetBaseParamsDir()
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
// Mac
pathRet /= "Library/Application Support";
TryCreateDirectory(pathRet);
return pathRet / "ZcashParams";
return pathRet / "Library/Application Support/ZcashParams";
#else
// Unix
return pathRet / ".zcash-params";