plugin - Fixes behaviour for misbehaving towers

Returning made the hook to stop if a single tower was misbehaving. Fixing that.
This commit is contained in:
Sergi Delgado Segura
2020-05-06 12:48:16 +02:00
parent 69b0109ca8
commit cda13c5a04

View File

@@ -340,7 +340,7 @@ def on_commitment_revocation(plugin, **kwargs):
tower_update = {} tower_update = {}
if tower.status == "misbehaving": if tower.status == "misbehaving":
return {"result": "continue"} continue
try: try:
if tower.status == "reachable": if tower.status == "reachable":