aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-06-14 16:00:39 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-06-14 16:12:14 +0200
commit228c319a944b0ba7c835b1909ee1c2056c652eb1 (patch)
treeda55fe8768d943b98dc0b78cd1a8b213be369399 /src/init.cpp
parentc94b89e90d6af3911f581addd8767466bc74a564 (diff)
parent1d1ea9f0962a331c21a3029a0302e5906a396f56 (diff)
Merge #9895: Turn TryCreateDirectory() into TryCreateDirectories()
1d1ea9f Turn TryCreateDirectory() into TryCreateDirectories() (Marko Bencun) Tree-SHA512: 49a524167bcf66e351a964c88d09cb3bcee12769a32da83410e3ba649fa4bcdbf0478d41e4d09bb55adb9b3f122e742271db6feb30bbafe2a7973542b5f10f79
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 2b25405f7e..ed7695344d 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1408,8 +1408,6 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
fReindex = GetBoolArg("-reindex", false);
bool fReindexChainState = GetBoolArg("-reindex-chainstate", false);
- fs::create_directories(GetDataDir() / "blocks");
-
// cache size calculations
int64_t nTotalCache = (GetArg("-dbcache", nDefaultDbCache) << 20);
nTotalCache = std::max(nTotalCache, nMinDbCache << 20); // total cache cannot be less than nMinDbCache