Browse Source

Don't stake on null wallet call

pull/4/head
miketout 6 years ago
parent
commit
e82ee7e3cc
  1. 2
      src/miner.cpp

2
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();

Loading…
Cancel
Save