aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bantablemodel.cpp
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2016-04-16 17:43:11 -0400
committerCory Fields <[email protected]>2016-09-08 12:12:57 -0400
commita0f3d3cdad630103d919a4ec802c413b87fa1f1a (patch)
treeb02339d74322cb6e6243a4b1bba743a374f4f439 /src/qt/bantablemodel.cpp
parentnet: handle nodesignals in CConnman (diff)
downloaddiscoin-a0f3d3cdad630103d919a4ec802c413b87fa1f1a.tar.xz
discoin-a0f3d3cdad630103d919a4ec802c413b87fa1f1a.zip
net: move ban and addrman functions into CConnman
Diffstat (limited to 'src/qt/bantablemodel.cpp')
-rw-r--r--src/qt/bantablemodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/bantablemodel.cpp b/src/qt/bantablemodel.cpp
index d95106b5a..6e11e2390 100644
--- a/src/qt/bantablemodel.cpp
+++ b/src/qt/bantablemodel.cpp
@@ -48,7 +48,8 @@ public:
void refreshBanlist()
{
banmap_t banMap;
- CNode::GetBanned(banMap);
+ if(g_connman)
+ g_connman->GetBanned(banMap);
cachedBanlist.clear();
#if QT_VERSION >= 0x040700