Set the channel limit on connected relays, not active

This commit is contained in:
Mark Veidemanis 2022-08-18 07:20:30 +01:00
parent 7efde28d99
commit b25cb1699f
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ class API(object):
return dumps({"success": False, "reason": "invalid chanlimit: not a number."})
else:
chanlimit = int(chanlimit)
online_relays = helpers.get_active_relays(net)
online_relays = helpers.get_connected_relays(net)
for r in online_relays:
r.chanlimit = chanlimit
elif item == "security":