From 1d3e296613c1bc540ed1248fcbd0a51b7468c49a Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 4 Feb 2015 00:00:54 +0300 Subject: [PATCH] clear vValue in SelectCoinsMinConf - should fix issue with conflicted txes --- src/wallet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wallet.cpp b/src/wallet.cpp index bfffabb7a0..a527f8f2a1 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1344,8 +1344,7 @@ bool CWallet::SelectCoinsMinConf(int64_t nTargetValue, int nConfMine, int nConfT for (unsigned int tryDenom = 0; tryDenom < 2; tryDenom++) { if (fDebug) LogPrint("selectcoins", "tryDenom: %d\n", tryDenom); - setCoinsRet.clear(); - nValueRet = 0; + vValue.clear(); nTotalLower = 0; BOOST_FOREACH(COutput output, vCoins)