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 M30S # noqa - Ignore access to _module
from miners._types import M30S, M30SV50 # noqa - Ignore access to _module
class BTMinerM30S(BTMiner, M30S):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM30SV50(BTMiner, M30SV50):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip