refactor: remove unused variables.

This commit is contained in:
UpstreamData
2024-01-16 08:16:21 -07:00
parent 68b85aa7da
commit 5327b3fe3d

View File

@@ -598,11 +598,9 @@ class BOSMiner(BaseMiner):
if api_devs is not None:
try:
offset = 6 if api_devs["DEVS"][0]["ID"] in [6, 7, 8] else 0
hr_list = []
for board in api_devs["DEVS"]:
_id = board["ID"] - offset
expected_hashrate = round(float(board["Nominal MHS"] / 1000000), 2)
if expected_hashrate:
hr_list.append(expected_hashrate)