feature: add board serial numbers to whatsminers.

This commit is contained in:
UpstreamData
2024-01-05 16:18:03 -07:00
parent de5038e57a
commit 2d229be9fd

View File

@@ -446,6 +446,7 @@ class BTMiner(BaseMiner):
float(board["MHS 1m"] / 1000000), 2 float(board["MHS 1m"] / 1000000), 2
) )
hashboards[board["ASC"]].chips = board["Effective Chips"] hashboards[board["ASC"]].chips = board["Effective Chips"]
hashboards[board["ASC"]].serial_number = board["PCB SN"]
hashboards[board["ASC"]].missing = False hashboards[board["ASC"]].missing = False
except (KeyError, IndexError): except (KeyError, IndexError):
pass pass