fixed more bugs with whatsminers and added more versions

This commit is contained in:
UpstreamData
2022-06-03 11:20:34 -06:00
parent 7a5a0b287c
commit 895a5b7ac8
13 changed files with 50 additions and 16 deletions

View File

@@ -1,8 +1,14 @@
from miners._backends import BTMiner # noqa - Ignore access to _module
from miners._types import M21S # noqa - Ignore access to _module
from miners._types import M21SV20, M21SV60 # noqa - Ignore access to _module
class BTMinerM21S(BTMiner, M21S):
class BTMinerM21SV20(BTMiner, M21SV20):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM21SV60(BTMiner, M21SV60):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip