diff options
| author | Matt Corallo <[email protected]> | 2016-11-29 18:45:24 -0800 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-12-24 11:29:33 -0500 |
| commit | 4cd373aea8d20356727f7d65e0bc818beb6523dc (patch) | |
| tree | 945990959f03be82089270427a7595431459942b /src/util.cpp | |
| parent | Get rid of mapArgs direct access in ZMQ construction (diff) | |
| download | discoin-4cd373aea8d20356727f7d65e0bc818beb6523dc.tar.xz discoin-4cd373aea8d20356727f7d65e0bc818beb6523dc.zip | |
Un-expose mapArgs from utils.h
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 2 |
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; |