Compare commits

..

2 Commits

Author SHA1 Message Date
Brett Rowan
d018724aa4 version: bump version number 2024-12-20 17:07:33 -07:00
Brett Rowan
5b97bed704 bug: fix hashrate sum start value in data 2024-12-20 17:07:11 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ class MinerData(BaseModel):
if item.hashrate is not None:
hr_data.append(item.hashrate)
if len(hr_data) > 0:
return sum(hr_data, start=self.hashboards[0].hashrate.__class__(rate=0))
return sum(hr_data, start=self.device_info.algo.hashrate(rate=0))
return self.raw_hashrate
@hashrate.setter

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyasic"
version = "0.67.0"
version = "0.67.1"
description = "A simplified and standardized interface for Bitcoin ASICs."
authors = ["UpstreamData <brett@upstreamdata.ca>"]
repository = "https://github.com/UpstreamData/pyasic"