switched over to hashrate av to be more accurate when getting data

This commit is contained in:
UpstreamData
2022-05-13 15:31:32 -06:00
parent 0d123d5dd8
commit 18c4bbd09c
4 changed files with 4 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ class BTMiner(BaseMiner):
summary_data = summary.get("SUMMARY")
if summary_data:
if len(summary_data) > 0:
hr = summary_data[0].get("MHS 5s")
hr = summary_data[0].get("MHS av")
if hr:
data["Hashrate"] = round(hr / 1000000, 2)