aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPatick Strateman <patrick.strateman@gmail.com>2015-11-14 05:10:59 -0800
committerPatick Strateman <patrick.strateman@gmail.com>2015-11-14 05:10:59 -0800
commit71a2683f4b526b17adf317733b0aa18ffacecfdc (patch)
tree3fb18ea405aacb88f78c1c2e8f7e0f44ffd7b640 /src/init.cpp
parent762b13b4d8cce325ed10de733a502fa3aadeadee (diff)
Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constants
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index b228319564..666fa87318 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -821,7 +821,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
}
// disable walletbroadcast in blocksonly mode
- if (GetBoolArg("-blocksonly", false)) {
+ if (GetBoolArg("-blocksonly", DEFAULT_BLOCKSONLY)) {
if (SoftSetBoolArg("-whitelistalwaysrelay", false))
LogPrintf("%s: parameter interaction: -blocksonly=1 -> setting -whitelistalwaysrelay=0\n", __func__);
#ifdef ENABLE_WALLET