bug: add additional X19 MAC address check.

This commit is contained in:
UpstreamData
2023-02-14 10:18:40 -07:00
parent 8ae2932274
commit f159e9ccb4

View File

@@ -126,6 +126,13 @@ class X19(BMMiner):
except KeyError: except KeyError:
pass pass
try:
data = await self.send_web_command("get_network_info")
if data:
return data["macaddr"]
except KeyError:
pass
async def get_errors(self) -> List[MinerErrorData]: async def get_errors(self) -> List[MinerErrorData]:
errors = [] errors = []
data = await self.send_web_command("summary") data = await self.send_web_command("summary")