Compare commits

...

2 Commits

Author SHA1 Message Date
Brett Rowan
797c847055 version: bump version number. 2024-04-07 17:17:17 -06:00
Brett Rowan
65c7f2f66f bug: fix vnish shutting-down handling. 2024-04-07 17:16:37 -06:00
2 changed files with 5 additions and 4 deletions

View File

@@ -225,9 +225,10 @@ class VNish(BMMiner):
if web_summary is not None:
try:
is_mining = (
not web_summary["miner"]["miner_status"]["miner_state"] == "stopped"
)
is_mining = not web_summary["miner"]["miner_status"]["miner_state"] in [
"stopped",
"shutting-down",
]
return is_mining
except LookupError:
pass

View File

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