clear vValue in SelectCoinsMinConf - should fix issue with conflicted txes
This commit is contained in:
parent
7fafe5d3e1
commit
1d3e296613
@ -1344,8 +1344,7 @@ bool CWallet::SelectCoinsMinConf(int64_t nTargetValue, int nConfMine, int nConfT
|
|||||||
for (unsigned int tryDenom = 0; tryDenom < 2; tryDenom++)
|
for (unsigned int tryDenom = 0; tryDenom < 2; tryDenom++)
|
||||||
{
|
{
|
||||||
if (fDebug) LogPrint("selectcoins", "tryDenom: %d\n", tryDenom);
|
if (fDebug) LogPrint("selectcoins", "tryDenom: %d\n", tryDenom);
|
||||||
setCoinsRet.clear();
|
vValue.clear();
|
||||||
nValueRet = 0;
|
|
||||||
nTotalLower = 0;
|
nTotalLower = 0;
|
||||||
|
|
||||||
BOOST_FOREACH(COutput output, vCoins)
|
BOOST_FOREACH(COutput output, vCoins)
|
||||||
|
Loading…
Reference in New Issue
Block a user