bug: fix improper stats key when getting uptime.

This commit is contained in:
UpstreamData
2023-06-27 16:23:21 -06:00
parent 96d9fe8e6c
commit 64c473a7d4
4 changed files with 5 additions and 5 deletions

View File

@@ -442,6 +442,6 @@ class LUXMiner(BaseMiner):
if api_stats:
try:
return int(api_stats["STATS"][0]["Elapsed"])
return int(api_stats["STATS"][1]["Elapsed"])
except LookupError:
pass