mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Un-expose mapArgs from utils.h
This commit is contained in:
parent
71fde5563b
commit
4cd373aea8
14 changed files with 30 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue