Merge branch 'master' into dev_get_params

This commit is contained in:
b-rowan
2024-01-15 10:42:37 -07:00
committed by GitHub
3 changed files with 5 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ class HiveonT9(Hiveon, T9):
except (TypeError, ValueError, asyncssh.Error, OSError, AttributeError): except (TypeError, ValueError, asyncssh.Error, OSError, AttributeError):
pass pass
async def _get_hashboards(self, api_stats: dict = None) -> List[HashBoard]: async def _get_hashboards(self, api_stats: dict = None) -> List[HashBoard]:
hashboards = [ hashboards = [
HashBoard(slot=board, expected_chips=self.expected_chips) HashBoard(slot=board, expected_chips=self.expected_chips)

View File

@@ -366,3 +366,6 @@ class CGMinerAvalon(CGMiner):
async def _get_uptime(self) -> Optional[int]: async def _get_uptime(self) -> Optional[int]:
return None return None
async def get_uptime(self) -> Optional[int]:
return None

View File

@@ -115,5 +115,6 @@ class MinersTest(unittest.TestCase):
) )
if __name__ == "__main__": if __name__ == "__main__":
unittest.main() unittest.main()