fixed a bug with hashrate data not getting sent with some miners
This commit is contained in:
@@ -259,6 +259,13 @@ class TestbenchMiner:
|
||||
devs_raw["DEVS"][board]["MHS 5s"] / 1000000, 2
|
||||
)
|
||||
|
||||
if len(hr_data.keys()) < 3:
|
||||
print(devs_raw["DEVS"])
|
||||
for board in [6, 7, 8]:
|
||||
if f"board_{board}" not in hr_data.keys():
|
||||
hr_data[f"board_{board}"] = {"HR": 0}
|
||||
|
||||
|
||||
# parse fan data
|
||||
fans_data = {}
|
||||
for fan in range(len(fans_raw["FANS"])):
|
||||
|
||||
Reference in New Issue
Block a user