bug: fix E9Pro strop_mining and resume_mining
This commit is contained in:
@@ -29,6 +29,12 @@ class X9(CGMiner):
|
|||||||
self.ip = ip
|
self.ip = ip
|
||||||
self.web = X19WebAPI(ip)
|
self.web = X19WebAPI(ip)
|
||||||
|
|
||||||
|
async def stop_mining(self) -> bool:
|
||||||
|
return False
|
||||||
|
|
||||||
|
async def resume_mining(self) -> bool:
|
||||||
|
return False
|
||||||
|
|
||||||
async def get_config(self) -> MinerConfig:
|
async def get_config(self) -> MinerConfig:
|
||||||
data = await self.web.get_miner_conf()
|
data = await self.web.get_miner_conf()
|
||||||
if data:
|
if data:
|
||||||
|
|||||||
Reference in New Issue
Block a user