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

View File

@@ -978,7 +978,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