Merge #8494: [init, wallet] ParameterInteraction() iff wallet enabled

fa5d276 [init] ParameterInteraction() iff wallet enabled (MarcoFalke)
This commit is contained in:
Wladimir J. van der Laan 2016-09-19 11:38:10 +02:00 committed by Alexander Block
parent 9e0976ee0a
commit 9432e1904f

View File

@ -1146,7 +1146,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
nBytesPerSigOp = GetArg("-bytespersigop", nBytesPerSigOp);
#ifdef ENABLE_WALLET
if (!CWallet::ParameterInteraction())
if (!fDisableWallet && !CWallet::ParameterInteraction())
return false;
#endif // ENABLE_WALLET