clear vValue in SelectCoinsMinConf - should fix issue with conflicted txes

This commit is contained in:
UdjinM6 2015-02-04 00:00:54 +03:00
parent 7fafe5d3e1
commit 1d3e296613

View File

@ -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)