From e93e5349cb32e47bf68f9cc682cb84642a02cfef Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Mon, 18 Apr 2011 15:10:27 -0400 Subject: Remove GUI's "Generate Coins" option from the menu. CPU mining remains available via command line option [until/unless the community decides to remove that completely]. --- db.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'db.cpp') diff --git a/db.cpp b/db.cpp index 28a8b7173..071231c5d 100644 --- a/db.cpp +++ b/db.cpp @@ -778,10 +778,10 @@ bool CWalletDB::LoadWallet() string strKey; ssKey >> strKey; - // Menu state - if (strKey == "fGenerateBitcoins") ssValue >> fGenerateBitcoins; - // Options +#ifndef GUI + if (strKey == "fGenerateBitcoins") ssValue >> fGenerateBitcoins; +#endif if (strKey == "nTransactionFee") ssValue >> nTransactionFee; if (strKey == "addrIncoming") ssValue >> addrIncoming; if (strKey == "fLimitProcessors") ssValue >> fLimitProcessors; -- cgit v1.2.3