added whatsminer get bad boards

This commit is contained in:
UpstreamData
2022-01-26 14:53:51 -07:00
parent 516075db6d
commit 3178083533
6 changed files with 42 additions and 7 deletions

View File

@@ -115,7 +115,7 @@ class BOSMiner(BaseMiner):
devdetails = await self.api.devdetails()
if not devdetails.get("DEVDETAILS"):
print("devdetails error", devdetails)
return {6: [], 7: [], 8: []}
return {0: [], 1: [], 2: []}
devs = devdetails['DEVDETAILS']
boards = {}
offset = devs[0]["ID"]