bug: fix mara fw hashrate scaling.
This commit is contained in:
@@ -172,7 +172,7 @@ class MaraMiner(BaseMiner):
|
|||||||
try:
|
try:
|
||||||
for hb in web_hashboards["hashboards"]:
|
for hb in web_hashboards["hashboards"]:
|
||||||
idx = hb["index"]
|
idx = hb["index"]
|
||||||
hashboards[idx].hashrate = hb["hashrate_average"]
|
hashboards[idx].hashrate = round(hb["hashrate_average"] / 1000, 2)
|
||||||
hashboards[idx].temp = round(
|
hashboards[idx].temp = round(
|
||||||
sum(hb["temperature_pcb"]) / len(hb["temperature_pcb"]), 2
|
sum(hb["temperature_pcb"]) / len(hb["temperature_pcb"]), 2
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user