Merge pull request #96 from fdeh75/fix-vnish-wattage-dimension

Fix vnish wattage dimension
This commit is contained in:
b-rowan
2024-01-22 13:38:27 -07:00
committed by GitHub

View File

@@ -167,7 +167,7 @@ class VNish(BMMiner):
if web_summary is not None:
try:
wattage = web_summary["miner"]["power_usage"]
wattage = round(wattage * 1000)
wattage = round(wattage)
return wattage
except KeyError:
pass