From c8538123a7618343056b8ca2bc7445de8f0620ec Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Sun, 5 Nov 2017 16:34:40 -1000 Subject: [PATCH] Update ban-state in case of dirty-state during periodic sweep --- src/net.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/net.cpp b/src/net.cpp index 258599747..586010964 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -612,6 +612,11 @@ void CConnman::SweepBanned() else ++it; } + + // update UI + if(setBannedIsDirty && clientInterface) { + clientInterface->BannedListChanged(); + } } bool CConnman::BannedSetIsDirty()