|
|
|
@ -18,6 +18,7 @@ using namespace std;
@@ -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<pair<const CWalletTx*,unsign
@@ -1192,7 +1193,7 @@ bool CWallet::SelectCoins(int64_t nTargetValue, set<pair<const CWalletTx*,unsign
|
|
|
|
|
|
|
|
|
|
return (SelectCoinsMinConf(nTargetValue, 1, 6, vCoins, setCoinsRet, nValueRet) || |
|
|
|
|
SelectCoinsMinConf(nTargetValue, 1, 1, vCoins, setCoinsRet, nValueRet) || |
|
|
|
|
SelectCoinsMinConf(nTargetValue, 0, 1, vCoins, setCoinsRet, nValueRet)); |
|
|
|
|
(bSpendZeroConfChange && SelectCoinsMinConf(nTargetValue, 0, 1, vCoins, setCoinsRet, nValueRet))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|