Skip to content

Commit e0ba96b

Browse files
enable blinking for sealminer
1 parent b7aa2aa commit e0ba96b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/ipr.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,8 @@ def locate_miner(self, row: int, col: int):
504504
client_auth = self.lineWhatsminerPasswd.text()
505505
case "goldshell":
506506
client_auth = self.lineGoldshellPasswd.text()
507+
case "sealminer":
508+
client_auth = self.lineSealminerPasswd.text()
507509
self.api_client.create_client_from_type(miner_type, ip_addr, client_auth)
508510
client = self.api_client.get_client()
509511
if not client:

src/mod/api/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ def locate_miner(self, miner_type: str):
106106
locate_duration.timeout.connect(self.stop_locate)
107107
logger.info(" locate miner for 10000ms.")
108108
match miner_type:
109-
case "antminer" | "volcminer" | "goldshell":
109+
case "antminer":
110110
try:
111111
self.client.blink(True)
112112
locate_duration.start(10000)
113113
except AuthenticationError as err:
114114
logger.error(err)
115115
self.close_client()
116-
case "iceriver":
116+
case "iceriver" | "volcminer" | "goldshell" | "sealminer":
117117
self.client.blink(True)
118118
locate_duration.start(10000)
119119
case "whatsminer":

0 commit comments

Comments
 (0)