bug: fix iceriver miners being identified as bitaxe

This commit is contained in:
Upstream Data
2024-10-30 08:54:27 -06:00
parent ccb5eb73db
commit bfe9cbf7d9

View File

@@ -623,6 +623,8 @@ class MinerFactory:
return MinerTypes.WHATSMINER return MinerTypes.WHATSMINER
if "Braiins OS" in web_text: if "Braiins OS" in web_text:
return MinerTypes.BRAIINS_OS return MinerTypes.BRAIINS_OS
if "<TITLE>用户界面</TITLE>" in web_text:
return MinerTypes.ICERIVER
if "AxeOS" in web_text: if "AxeOS" in web_text:
return MinerTypes.BITAXE return MinerTypes.BITAXE
if "cloud-box" in web_text: if "cloud-box" in web_text:
@@ -637,8 +639,6 @@ class MinerFactory:
return MinerTypes.INNOSILICON return MinerTypes.INNOSILICON
if "Miner UI" in web_text: if "Miner UI" in web_text:
return MinerTypes.AURADINE return MinerTypes.AURADINE
if "<TITLE>用户界面</TITLE>" in web_text:
return MinerTypes.ICERIVER
async def _get_miner_socket(self, ip: str) -> MinerTypes | None: async def _get_miner_socket(self, ip: str) -> MinerTypes | None:
commands = ["version", "devdetails"] commands = ["version", "devdetails"]