mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constants
This commit is contained in:
parent
762b13b4d8
commit
71a2683f4b
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue