aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2015-11-09 19:16:38 +0100
committerMarcoFalke <[email protected]>2015-11-28 19:01:11 +0100
commitfaf93f37fe47fe326fcc4955302a66f24eb13b65 (patch)
treea1f2ed7942c30233341f58f85cff6eaf2e14cb5e /src/wallet/wallet.cpp
parentBugfix: Omit wallet-related options from -help when wallet is not supported (diff)
downloaddiscoin-faf93f37fe47fe326fcc4955302a66f24eb13b65.tar.xz
discoin-faf93f37fe47fe326fcc4955302a66f24eb13b65.zip
[trivial] Reuse translation and cleanup DEFAULT_* values
* DEFAULT_DISABLE_SAFEMODE = false * Use DEFAULT_* constants for extern bools
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 1aec97756..69b163ebc 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -39,8 +39,8 @@ using namespace std;
CFeeRate payTxFee(DEFAULT_TRANSACTION_FEE);
CAmount maxTxFee = DEFAULT_TRANSACTION_MAXFEE;
unsigned int nTxConfirmTarget = DEFAULT_TX_CONFIRM_TARGET;
-bool bSpendZeroConfChange = true;
-bool fSendFreeTransactions = false;
+bool bSpendZeroConfChange = DEFAULT_SPEND_ZEROCONF_CHANGE;
+bool fSendFreeTransactions = DEFAULT_SEND_FREE_TRANSACTIONS;
bool fPayAtLeastCustomFee = true;
/**