diff --git a/src/init.cpp b/src/init.cpp index 4d9de6cfc..44204d93b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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