diff options
| author | Jonas Schnelli <[email protected]> | 2017-11-05 16:34:40 -1000 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2017-11-09 09:04:40 -1000 |
| commit | c8538123a7618343056b8ca2bc7445de8f0620ec (patch) | |
| tree | 2dba565e3e3cbb1ceec8d0a76e25d655e9127d60 /src | |
| parent | Merge #11578: net: Add missing lock in ProcessHeadersMessage(...) (diff) | |
| download | discoin-c8538123a7618343056b8ca2bc7445de8f0620ec.tar.xz discoin-c8538123a7618343056b8ca2bc7445de8f0620ec.zip | |
Update ban-state in case of dirty-state during periodic sweep
Diffstat (limited to 'src')
| -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 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() |