From cda13c5a043a61749253525a042a1ebe7dd91ce4 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Wed, 6 May 2020 12:48:16 +0200 Subject: [PATCH] plugin - Fixes behaviour for misbehaving towers Returning made the hook to stop if a single tower was misbehaving. Fixing that. --- watchtower-plugin/watchtower.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watchtower-plugin/watchtower.py b/watchtower-plugin/watchtower.py index 303efa7..a6671fb 100755 --- a/watchtower-plugin/watchtower.py +++ b/watchtower-plugin/watchtower.py @@ -340,7 +340,7 @@ def on_commitment_revocation(plugin, **kwargs): tower_update = {} if tower.status == "misbehaving": - return {"result": "continue"} + continue try: if tower.status == "reachable":