diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-11-05 16:34:40 -1000 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-11-09 09:04:40 -1000 |
commit | c8538123a7618343056b8ca2bc7445de8f0620ec (patch) | |
tree | 2dba565e3e3cbb1ceec8d0a76e25d655e9127d60 | |
parent | 8335cb478183d800e274f6e96f9d7269ae584220 (diff) | |
download | bitcoin-c8538123a7618343056b8ca2bc7445de8f0620ec.tar.xz |
Update ban-state in case of dirty-state during periodic sweep
-rw-r--r-- | src/net.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp index 258599747a..5860109647 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() |