From aca0e5dcdb174ef7e88b76910d6fffd633688235 Mon Sep 17 00:00:00 2001 From: Kiminuo Date: Tue, 4 May 2021 12:58:44 +0200 Subject: Remove `GetDataDir(bool fNetSpecific = true)` function --- src/util/system.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/util/system.cpp') 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", ""); -- cgit v1.2.3