aboutsummaryrefslogtreecommitdiff
path: root/db.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-04-18 15:10:27 -0400
committerJeff Garzik <jgarzik@pobox.com>2011-04-18 15:10:27 -0400
commite93e5349cb32e47bf68f9cc682cb84642a02cfef (patch)
treed275477658861df48a6eb70bd36b800e23ea12cc /db.cpp
parentb37f09aa2e80b17028ad7fe1e87362c0f07c7406 (diff)
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].
Diffstat (limited to 'db.cpp')
-rw-r--r--db.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/db.cpp b/db.cpp
index 28a8b71733..071231c5dd 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;