Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
turn off staking by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Griffith committed Sep 10, 2017
1 parent 014e254 commit 3387c79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,10 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
// --- end disabled ---

// Generate coins in the background
ThreadScryptMiner(pwalletMain);
if(GetBoolArg("-staking", false))
{
ThreadScryptMiner(pwalletMain);
}

// ********************************************************* Step 12: finished

Expand Down

0 comments on commit 3387c79

Please sign in to comment.