Added upgraderun in rpc/luxminer

This commit is contained in:
1e9abhi1e10
2024-08-21 01:06:50 +05:30
parent b957aa7fba
commit 6fdd156fa3
2 changed files with 14 additions and 15 deletions

View File

@@ -749,3 +749,12 @@ class LUXMinerRPCAPI(BaseMinerRPCAPI):
</details>
"""
return await self.send_command("wakeup", parameters=session_id)
async def upgraderun(self):
"""
Send the 'updaterun' command to the miner.
Returns:
The response from the miner after sending the 'updaterun' command.
"""
return await self.send_command("updaterun")