fix: Update renewal plugin to get IP from env
All checks were successful
Build Docker / Build Image (push) Successful in 46s

This commit is contained in:
2025-01-28 16:26:24 +11:00
parent 35d3ccd0c0
commit 5c61bad9a2
2 changed files with 3 additions and 6 deletions

View File

@@ -500,10 +500,6 @@ def advancedChangeLookahead(params, authentication):
lookahead = int(lookahead)
wallet = authentication.split(":")[0]
password = ":".join(authentication.split(":")[1:])
# curl http://x:api-key@127.0.0.1:14039/wallet/$id/account/$name \
# -X PATCH \
# --data '{"lookahead": $lookahead}'
APIKEY = os.getenv("hsd_api")
ip = os.getenv("hsd_ip")
if ip is None: