mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge branch 'v0.11.1.x' of https://github.com/darkcoin/darkcoin into v0.11.1.x
This commit is contained in:
commit
e4b5b6c5f6
@ -1471,18 +1471,17 @@ bool CWallet::SelectCoinsMinConf(int64_t nTargetValue, int nConfMine, int nConfT
|
|||||||
nValueRet += coinLowestLarger.first;
|
nValueRet += coinLowestLarger.first;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
string s = "CWallet::SelectCoinsMinConf best subset: ";
|
||||||
for (unsigned int i = 0; i < vValue.size(); i++)
|
for (unsigned int i = 0; i < vValue.size(); i++)
|
||||||
|
{
|
||||||
if (vfBest[i])
|
if (vfBest[i])
|
||||||
{
|
{
|
||||||
setCoinsRet.insert(vValue[i].second);
|
setCoinsRet.insert(vValue[i].second);
|
||||||
nValueRet += vValue[i].first;
|
nValueRet += vValue[i].first;
|
||||||
|
s += FormatMoney(vValue[i].first);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
LogPrint("selectcoins", "SelectCoins() best subset: ");
|
LogPrintf("%s - total %s\n", s, FormatMoney(nBest));
|
||||||
for (unsigned int i = 0; i < vValue.size(); i++)
|
|
||||||
if (vfBest[i])
|
|
||||||
LogPrint("selectcoins", "%s ", FormatMoney(vValue[i].first));
|
|
||||||
LogPrint("selectcoins", "total %s\n", FormatMoney(nBest));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user