Skip to content

Commit 68a7fc0

Browse files
committed
Check for BCLog::PRIVATESEND instead of logCategories != BCLog::NONE
1 parent 4848db6 commit 68a7fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/coincontroldialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ void CoinControlDialog::updateView()
765765
COutPoint outpoint = COutPoint(out.tx->tx->GetHash(), out.i);
766766
int nRounds = pwalletMain->GetRealOutpointPrivateSendRounds(outpoint);
767767

768-
if (nRounds >= 0 || logCategories != BCLog::NONE) itemOutput->setText(COLUMN_PRIVATESEND_ROUNDS, QString::number(nRounds));
768+
if (nRounds >= 0 || LogAcceptCategory(BCLog::PRIVATESEND)) itemOutput->setText(COLUMN_PRIVATESEND_ROUNDS, QString::number(nRounds));
769769
else itemOutput->setText(COLUMN_PRIVATESEND_ROUNDS, tr("n/a"));
770770
itemOutput->setData(COLUMN_PRIVATESEND_ROUNDS, Qt::UserRole, QVariant((qlonglong)nRounds));
771771

0 commit comments

Comments
 (0)