epic: remove guard on expected_hashboards
This commit is contained in:
committed by
Brett Rowan
parent
3cfc8dded9
commit
0ee261930e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user