Skip to content

Commit

Permalink
Update ban-state in case of dirty-state during periodic sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschnelli committed Nov 9, 2017
1 parent 8335cb4 commit c853812
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/net.cpp
Expand Up @@ -612,6 +612,11 @@ void CConnman::SweepBanned()
else
++it;
}

// update UI
if(setBannedIsDirty && clientInterface) {
clientInterface->BannedListChanged();
}
}

bool CConnman::BannedSetIsDirty()
Expand Down

0 comments on commit c853812

Please sign in to comment.