From e82ee7e3ccb84faa11ad8f26fb1d61ca07ce5357 Mon Sep 17 00:00:00 2001 From: miketout Date: Sun, 14 Oct 2018 00:01:16 -0700 Subject: [PATCH] Don't stake on null wallet call --- src/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();