Fix comment for blocksonly parameter interactions

This commit is contained in:
Patick Strateman 2015-11-14 05:14:01 -08:00
parent 6a4982fb83
commit bbf49da408

View file

@ -820,7 +820,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
#endif
}
// disable walletbroadcast in blocksonly mode
// disable walletbroadcast and whitelistalwaysrelay in blocksonly mode
if (GetBoolArg("-blocksonly", DEFAULT_BLOCKSONLY)) {
if (SoftSetBoolArg("-whitelistalwaysrelay", false))
LogPrintf("%s: parameter interaction: -blocksonly=1 -> setting -whitelistalwaysrelay=0\n", __func__);