Compare commits

...

2 Commits

Author SHA1 Message Date
UpstreamData
5441e50f73 version: bump version number. 2023-02-24 08:49:29 -07:00
UpstreamData
dc6a952de4 bug: fix backwards modes for X19. 2023-02-24 08:49:13 -07:00
2 changed files with 3 additions and 3 deletions

View File

@@ -101,13 +101,13 @@ class X19(BMMiner):
async def stop_mining(self) -> bool:
cfg = await self.get_config()
cfg.miner_mode = X19PowerMode.Normal
cfg.miner_mode = X19PowerMode.Sleep
await self.send_config(cfg)
return True
async def resume_mining(self) -> bool:
cfg = await self.get_config()
cfg.miner_mode = X19PowerMode.Sleep
cfg.miner_mode = X19PowerMode.Normal
await self.send_config(cfg)
return True

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyasic"
version = "0.30.7"
version = "0.30.8"
description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH."
authors = ["UpstreamData <brett@upstreamdata.ca>"]
repository = "https://github.com/UpstreamData/pyasic"