Skip to content

Commit c853812

Browse files
committed
Update ban-state in case of dirty-state during periodic sweep
1 parent 8335cb4 commit c853812

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/net.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,11 @@ void CConnman::SweepBanned()
612612
else
613613
++it;
614614
}
615+
616+
// update UI
617+
if(setBannedIsDirty && clientInterface) {
618+
clientInterface->BannedListChanged();
619+
}
615620
}
616621

617622
bool CConnman::BannedSetIsDirty()

0 commit comments

Comments
 (0)