From c7f2fee05f5ef6e1811017c6af74e5d9336e62b9 Mon Sep 17 00:00:00 2001 From: jamescowens Date: Sat, 17 Apr 2021 22:04:02 -0400 Subject: [PATCH] Change Proof of Research Difficulty to Difficulty --- src/qt/forms/rpcconsole.ui | 8 ++++---- src/qt/rpcconsole.cpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/qt/forms/rpcconsole.ui b/src/qt/forms/rpcconsole.ui index 53d024f6c3..b61666dbdb 100755 --- a/src/qt/forms/rpcconsole.ui +++ b/src/qt/forms/rpcconsole.ui @@ -7,7 +7,7 @@ 0 0 1000 - 720 + 944 @@ -48,7 +48,7 @@ - + N/A @@ -295,9 +295,9 @@ - + - Proof Of Research Difficulty + Difficulty diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index a2059d6a50..b79672a1f0 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -411,7 +411,7 @@ void RPCConsole::setClientModel(ClientModel *model) setNumBlocks(model->getNumBlocks(), model->getNumBlocksOfPeers()); ui->boostVersion->setText(model->formatBoostVersion()); - ui->porDiff->setText(model->getDifficulty()); + ui->diff->setText(model->getDifficulty()); //Setup autocomplete and attach it QStringList wordList; @@ -487,7 +487,7 @@ void RPCConsole::message(int category, const QString &message, bool html) void RPCConsole::setNumConnections(int count) { ui->numberOfConnections->setText(QString::number(count)); - if (clientModel) ui->porDiff->setText(clientModel->getDifficulty()); + if (clientModel) ui->diff->setText(clientModel->getDifficulty()); } @@ -500,7 +500,7 @@ void RPCConsole::setNumBlocks(int count, int countOfPeers) // If there is no current number available display N/A instead of 0, which can't ever be true ui->totalBlocks->setText(clientModel->getNumBlocksOfPeers() == 0 ? tr("N/A") : QString::number(clientModel->getNumBlocksOfPeers())); ui->lastBlockTime->setText(clientModel->getLastBlockDate().toString()); - ui->porDiff->setText(clientModel->getDifficulty()); + ui->diff->setText(clientModel->getDifficulty()); } }