mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 19:22:17 +01:00
Un-expose mapArgs from utils.h
This commit is contained in:
@@ -504,7 +504,7 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific)
|
||||
return path;
|
||||
|
||||
if (IsArgSet("-datadir")) {
|
||||
path = fs::system_complete(mapArgs["-datadir"]);
|
||||
path = fs::system_complete(GetArg("-datadir", ""));
|
||||
if (!fs::is_directory(path)) {
|
||||
path = "";
|
||||
return path;
|
||||
|
||||
Reference in New Issue
Block a user