diff --git a/src/miner.cpp b/src/miner.cpp index 5fdaf9c0a..d8fe850e5 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -1925,7 +1925,7 @@ void static BitcoinMiner() if ( nThreads == 0 && ASSETCHAINS_STAKED ) nThreads = 1; - if ((nThreads == 0 || !fGenerate) && VERUS_MINTBLOCKS == 0) + if ((nThreads == 0 || !fGenerate) && (VERUS_MINTBLOCKS == 0 || pwallet == NULL)) return; minerThreads = new boost::thread_group();