aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.cpp
diff options
context:
space:
mode:
authorKiminuo <kiminuo@protonmail.com>2021-05-22 15:01:04 +0200
committerKiminuo <kiminuo@protonmail.com>2021-05-24 10:29:58 +0200
commit13bd8bb0536f008118b1de921654925ed9ce1da7 (patch)
treec37fe517ec7ff62e87d189a8a632bdad86988302 /src/util/system.cpp
parent4d8189f62076d47be182e709857774bc3921b334 (diff)
downloadbitcoin-13bd8bb0536f008118b1de921654925ed9ce1da7.tar.xz
Make `ArgsManager.GetDataDirPath` private and drop needless suffix
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r--src/util/system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 3613d780ca..3dcf3e9b6e 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -414,7 +414,7 @@ const fs::path& ArgsManager::GetBlocksDirPath() const
return path;
}
-const fs::path& ArgsManager::GetDataDirPath(bool net_specific) const
+const fs::path& ArgsManager::GetDataDir(bool net_specific) const
{
LOCK(cs_args);
fs::path& path = net_specific ? m_cached_network_datadir_path : m_cached_datadir_path;