fixed bugs
This commit is contained in:
@@ -10,6 +10,9 @@ class BMMiner(BaseMiner):
|
||||
def __repr__(self) -> str:
|
||||
return f"BMMiner: {str(self.ip)}"
|
||||
|
||||
async def get_hostname(self) -> str:
|
||||
return "BMMiner Unknown"
|
||||
|
||||
async def send_config(self):
|
||||
return None # ignore for now
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@ class CGMiner(BaseMiner):
|
||||
def __repr__(self) -> str:
|
||||
return f"CGMiner: {str(self.ip)}"
|
||||
|
||||
async def get_hostname(self) -> str:
|
||||
return "CGMiner Unknown"
|
||||
|
||||
async def send_config(self):
|
||||
return None # ignore for now
|
||||
|
||||
|
||||
Reference in New Issue
Block a user