Fix vnish wattage dimension

Update backend vnish.py
This commit is contained in:
fdeh
2024-01-22 23:17:27 +03:00
parent 0958f47cfe
commit dd9c6f1f63

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