attempt to fix a bug in testbench

This commit is contained in:
UpstreamData
2022-05-11 14:04:05 -06:00
parent 84d6e58ebe
commit 174a132e75
3 changed files with 23 additions and 3 deletions

View File

@@ -202,6 +202,10 @@ class BOSMiner(BaseMiner):
offset = devs[0]["ID"]
for board in devs:
boards[board["ID"] - offset] = []
if not board["Chips"] == self.nominal_chips:
nominal = False
else:
nominal = True
if not board["Chips"] == self.nominal_chips:
nominal = False
else: