aboutsummaryrefslogtreecommitdiff
path: root/src/init.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/init.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/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 76ef08da3..7d2bcb57b 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -962,8 +962,8 @@ bool AppInitParameterInteraction()
if (IsArgSet("-minrelaytxfee"))
{
CAmount n = 0;
- if (!ParseMoney(mapArgs["-minrelaytxfee"], n) || 0 == n)
- return InitError(AmountErrMsg("minrelaytxfee", mapArgs["-minrelaytxfee"]));
+ if (!ParseMoney(GetArg("-minrelaytxfee", ""), n) || 0 == n)
+ return InitError(AmountErrMsg("minrelaytxfee", GetArg("-minrelaytxfee", "")));
// High fee check is done afterward in CWallet::ParameterInteraction()
::minRelayTxFee = CFeeRate(n);
}