aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2016-11-29 18:45:24 -0800
committerMatt Corallo <[email protected]>2016-12-24 11:29:33 -0500
commit4cd373aea8d20356727f7d65e0bc818beb6523dc (patch)
tree945990959f03be82089270427a7595431459942b /src/util.cpp
parentGet rid of mapArgs direct access in ZMQ construction (diff)
downloaddiscoin-4cd373aea8d20356727f7d65e0bc818beb6523dc.tar.xz
discoin-4cd373aea8d20356727f7d65e0bc818beb6523dc.zip
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 cef3e97c2..0a5a89999 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;