diff --git a/pyasic/miners/base.py b/pyasic/miners/base.py index 2bd9a1d5..e58da5c0 100644 --- a/pyasic/miners/base.py +++ b/pyasic/miners/base.py @@ -345,13 +345,14 @@ class BaseMiner(ABC): """ pass + @abstractmethod async def is_mining(self, *args, **kwargs) -> Optional[bool]: """Check whether the miner is mining. Returns: A boolean value representing if the miner is mining. """ - return None + pass async def _get_data(self, allow_warning: bool, data_to_get: list = None) -> dict: if not data_to_get: