aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/system.cpp5
-rw-r--r--src/util/system.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 3dcf3e9b6e..3f14a19a4a 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -802,11 +802,6 @@ fs::path GetDefaultDataDir()
#endif
}
-const fs::path &GetDataDir(bool fNetSpecific)
-{
- return fNetSpecific ? gArgs.GetDataDirNet() : gArgs.GetDataDirBase();
-}
-
bool CheckDataDirOption()
{
std::string datadir = gArgs.GetArg("-datadir", "");
diff --git a/src/util/system.h b/src/util/system.h
index 6a4bd9f99e..c4317c62d0 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -90,7 +90,6 @@ void ReleaseDirectoryLocks();
bool TryCreateDirectories(const fs::path& p);
fs::path GetDefaultDataDir();
-const fs::path &GetDataDir(bool fNetSpecific = true);
// Return true if -datadir option points to a valid directory or is not specified.
bool CheckDataDirOption();
fs::path GetConfigFile(const std::string& confPath);