From dfe86b4fb21199b13f7263d7c8dd0f968dd36e15 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 29 Nov 2024 12:50:45 +0300 Subject: [PATCH] fix: follow-up fixes --- src/qt/coincontroldialog.cpp | 2 +- src/wallet/wallet.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qt/coincontroldialog.cpp b/src/qt/coincontroldialog.cpp index 4ada490a7a618..89206909d3dad 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 35da41971c702..9359b793341da 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;