diff --git a/src/qt/coincontroldialog.cpp b/src/qt/coincontroldialog.cpp index 4ada490a7a..89206909d3 100644 --- a/src/qt/coincontroldialog.cpp +++ b/src/qt/coincontroldialog.cpp @@ -770,7 +770,7 @@ void CoinControlDialog::updateView() // CoinJoin rounds 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)); } else { itemOutput->setText(COLUMN_COINJOIN_ROUNDS, tr("n/a")); diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 35da41971c..9359b79334 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3432,11 +3432,11 @@ std::vector CWallet::SelectCoinsGroupedByAddresses(bool fSkipD } // debug - if (LogAcceptCategory(BCLog::SELECTCOINS, BCLog::Level::Debug)) { + if (LogAcceptDebug(BCLog::SELECTCOINS)) { std::string strMessage = "SelectCoinsGroupedByAddresses - vecTallyRet:\n"; for (const auto& item : vecTallyRet) strMessage += strprintf(" %s %f\n", EncodeDestination(item.txdest), float(item.nAmount)/COIN); - LogPrintf("%s", strMessage); /* Continued */ + LogPrint(BCLog::SELECTCOINS, "%s", strMessage); /* Continued */ } return vecTallyRet;