[init] ParameterInteraction() iff wallet enabled

This commit is contained in:
MarcoFalke 2016-08-10 08:39:46 +02:00
parent 6e6ab2c323
commit fa5d276c90

View file

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