aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2023-03-06 16:03:42 +0100
committerVasil Dimov <vd@FreeBSD.org>2023-03-06 16:07:08 +0100
commit4be57a5df140f52628cab8a5ca5ddc208cd3f612 (patch)
treeed92fcef68418768fa8baec0c0f1793a61f9d7f4 /src/qt
parenta981af4e6fd0047bc3e96468db48dd7820dac808 (diff)
downloadbitcoin-4be57a5df140f52628cab8a5ca5ddc208cd3f612.tar.xz
gui: fix comments for BanTableModel and BanTablePriv::refreshBanlist()
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bantablemodel.cpp2
-rw-r--r--src/qt/bantablemodel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bantablemodel.cpp b/src/qt/bantablemodel.cpp
index d68ca1e2ea..4592d29abc 100644
--- a/src/qt/bantablemodel.cpp
+++ b/src/qt/bantablemodel.cpp
@@ -43,7 +43,7 @@ public:
/** Order (ascending or descending) to sort nodes by */
Qt::SortOrder sortOrder;
- /** Pull a full list of banned nodes from CNode into our cache */
+ /** Pull a full list of banned nodes from interfaces::Node into our cache */
void refreshBanlist(interfaces::Node& node)
{
banmap_t banMap;
diff --git a/src/qt/bantablemodel.h b/src/qt/bantablemodel.h
index 51f925bfa8..adb97ad1c0 100644
--- a/src/qt/bantablemodel.h
+++ b/src/qt/bantablemodel.h
@@ -37,7 +37,7 @@ private:
};
/**
- Qt model providing information about connected peers, similar to the
+ Qt model providing information about banned peers, similar to the
"getpeerinfo" RPC call. Used by the rpc console UI.
*/
class BanTableModel : public QAbstractTableModel