epic: remove guard on expected_hashboards

This commit is contained in:
John-Paul Compagnone
2025-03-18 11:29:55 -04:00
committed by Brett Rowan
parent 3cfc8dded9
commit 0ee261930e

View File

@@ -340,9 +340,6 @@ class ePIC(ePICFirmware):
tuned = tuned and web_summary["Status"]["Operating State"] == "Mining"
active = active and web_summary["Status"]["Operating State"] == "Mining"
if web_capabilities is not None and self.expected_hashboards is None:
self.expected_hashboards = web_capabilities.get("Max HBs", 3)
hb_list = [
HashBoard(slot=i, expected_chips=self.expected_chips)
for i in range(self.expected_hashboards)