bug: fix T9+ support.

This commit is contained in:
UpstreamData
2023-04-13 14:09:05 -06:00
parent 9c4c8503d6
commit 05e82b85c5
4 changed files with 16 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ from pyasic.miners.base import BaseMiner
BMMINER_DATA_LOC = {
"mac": {"cmd": "get_mac", "kwargs": {}},
"model": {"cmd": "get_model", "kwargs": {"api_devdetails": {"api": "devdetails"}}},
"model": {"cmd": "get_model", "kwargs": {}},
"api_ver": {"cmd": "get_api_ver", "kwargs": {"api_version": {"api": "version"}}},
"fw_ver": {"cmd": "get_fw_ver", "kwargs": {"api_version": {"api": "version"}}},
"hostname": {"cmd": "get_hostname", "kwargs": {}},