From 1bbca249b202c4802cc2c4d4de4a26e6392b4d92 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 11 Feb 2014 12:49:33 +0100 Subject: Add option to avoid spending unconfirmed change --- src/wallet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wallet.cpp') diff --git a/src/wallet.cpp b/src/wallet.cpp index 979560651..0e51ebb44 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -18,6 +18,7 @@ using namespace std; // Settings int64_t nTransactionFee = 0; +bool bSpendZeroConfChange = true; ////////////////////////////////////////////////////////////////////////////// // @@ -1192,7 +1193,7 @@ bool CWallet::SelectCoins(int64_t nTargetValue, set