mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 06:04:21 +01:00
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:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user