Skip to content

Commit aca0e5d

Browse files
committed
Remove GetDataDir(bool fNetSpecific = true) function
1 parent b3e67f2 commit aca0e5d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/util/system.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -802,11 +802,6 @@ fs::path GetDefaultDataDir()
802802
#endif
803803
}
804804

805-
const fs::path &GetDataDir(bool fNetSpecific)
806-
{
807-
return fNetSpecific ? gArgs.GetDataDirNet() : gArgs.GetDataDirBase();
808-
}
809-
810805
bool CheckDataDirOption()
811806
{
812807
std::string datadir = gArgs.GetArg("-datadir", "");

src/util/system.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ void ReleaseDirectoryLocks();
9090

9191
bool TryCreateDirectories(const fs::path& p);
9292
fs::path GetDefaultDataDir();
93-
const fs::path &GetDataDir(bool fNetSpecific = true);
9493
// Return true if -datadir option points to a valid directory or is not specified.
9594
bool CheckDataDirOption();
9695
fs::path GetConfigFile(const std::string& confPath);

0 commit comments

Comments
 (0)