diff --git a/src/util.cpp b/src/util.cpp index 13c1199..9f9be48 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1116,7 +1116,10 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific) path = GetDefaultDataDir(); } if (fNetSpecific && GetBoolArg("-testnet", false)) + { + fs::create_directory(path); path /= "testnet3"; + } fs::create_directory(path);