feature: add S19i.

This commit is contained in:
UpstreamData
2023-09-19 13:56:40 -06:00
parent 4d21f150ce
commit 9f6235a0fc
7 changed files with 27 additions and 6 deletions

View File

@@ -239,14 +239,16 @@ class BMMiner(BaseMiner):
for i in range(board_offset, board_offset + 4):
try:
key = f'chain_acs{i}'
if boards[1].get(key, '') != '':
key = f"chain_acs{i}"
if boards[1].get(key, "") != "":
real_slots.append(i)
except LookupError:
pass
if len(real_slots) < 3:
real_slots = list(range(board_offset, board_offset + self.ideal_hashboards))
real_slots = list(
range(board_offset, board_offset + self.ideal_hashboards)
)
for i in real_slots:
hashboard = HashBoard(