aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-11-29 18:45:24 -0800
committerMatt Corallo <git@bluematt.me>2016-12-24 11:29:33 -0500
commit4cd373aea8d20356727f7d65e0bc818beb6523dc (patch)
tree945990959f03be82089270427a7595431459942b /src/util.cpp
parent71fde5563b5d05a63e3ad08a3c32a9e5ffb952f7 (diff)
downloadbitcoin-4cd373aea8d20356727f7d65e0bc818beb6523dc.tar.xz
Un-expose mapArgs from utils.h
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index cef3e97c28..0a5a899997 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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;