Merge pull request #155 from UdjinM6/v0.11.1.x_fix_conflicted

clear vValue in SelectCoinsMinConf - should fix an issue with conflicted txes
This commit is contained in:
evan82 2015-02-03 14:51:12 -07:00
commit 62bdb540f3

View File

@ -1365,8 +1365,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)