mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix: follow-up fixes
This commit is contained in:
parent
a254a7b70c
commit
dfe86b4fb2
@ -770,7 +770,7 @@ void CoinControlDialog::updateView()
|
|||||||
|
|
||||||
// CoinJoin rounds
|
// CoinJoin rounds
|
||||||
int nRounds = model->getRealOutpointCoinJoinRounds(output);
|
int nRounds = model->getRealOutpointCoinJoinRounds(output);
|
||||||
if (nRounds >= 0 || LogAcceptCategory(BCLog::COINJOIN)) {
|
if (nRounds >= 0 || LogAcceptDebug(BCLog::COINJOIN)) {
|
||||||
itemOutput->setText(COLUMN_COINJOIN_ROUNDS, QString::number(nRounds));
|
itemOutput->setText(COLUMN_COINJOIN_ROUNDS, QString::number(nRounds));
|
||||||
} else {
|
} else {
|
||||||
itemOutput->setText(COLUMN_COINJOIN_ROUNDS, tr("n/a"));
|
itemOutput->setText(COLUMN_COINJOIN_ROUNDS, tr("n/a"));
|
||||||
|
@ -3432,11 +3432,11 @@ std::vector<CompactTallyItem> CWallet::SelectCoinsGroupedByAddresses(bool fSkipD
|
|||||||
}
|
}
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
if (LogAcceptCategory(BCLog::SELECTCOINS, BCLog::Level::Debug)) {
|
if (LogAcceptDebug(BCLog::SELECTCOINS)) {
|
||||||
std::string strMessage = "SelectCoinsGroupedByAddresses - vecTallyRet:\n";
|
std::string strMessage = "SelectCoinsGroupedByAddresses - vecTallyRet:\n";
|
||||||
for (const auto& item : vecTallyRet)
|
for (const auto& item : vecTallyRet)
|
||||||
strMessage += strprintf(" %s %f\n", EncodeDestination(item.txdest), float(item.nAmount)/COIN);
|
strMessage += strprintf(" %s %f\n", EncodeDestination(item.txdest), float(item.nAmount)/COIN);
|
||||||
LogPrintf("%s", strMessage); /* Continued */
|
LogPrint(BCLog::SELECTCOINS, "%s", strMessage); /* Continued */
|
||||||
}
|
}
|
||||||
|
|
||||||
return vecTallyRet;
|
return vecTallyRet;
|
||||||
|
Loading…
Reference in New Issue
Block a user