block/bridge: correct handling of hashed fingerprints

This commit is contained in:
Iain Learmonth 2022-09-01 16:26:19 +01:00
parent 434460dfc0
commit 268445e0f0
2 changed files with 3 additions and 2 deletions

View file

@ -52,7 +52,7 @@ class BlockBridgeAutomation(BaseAutomation):
logging.debug("Blocked by IP")
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_fingerprint))
logging.debug("Blocked by fingerprint")
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_hashed_fingerprint))
rotated.extend(self.perform_deprecations(self.hashed_fingerprints, get_bridge_by_hashed_fingerprint))
logging.debug("Blocked by hashed fingerprint")
if rotated:
activity = Activity(