change hashrate data to 1m as it seems more consistent, and add get_data to web monitor
This commit is contained in:
@@ -156,7 +156,7 @@ class BMMiner(BaseMiner):
|
||||
hr = summary.get("SUMMARY")
|
||||
if hr:
|
||||
if len(hr) > 0:
|
||||
hr = hr[0].get("GHS av")
|
||||
hr = hr[0].get("GHS 1m")
|
||||
if hr:
|
||||
data.hashrate = round(hr / 1000, 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user