bug: fix some issues with return types and missing return statements.
This commit is contained in:
@@ -116,7 +116,7 @@ class MinerConfig:
|
||||
return cls(pools=PoolConfig.from_am_modern(web_conf))
|
||||
|
||||
@classmethod
|
||||
def from_inno(cls, web_pools: dict):
|
||||
def from_inno(cls, web_pools: list):
|
||||
return cls(pools=PoolConfig.from_inno(web_pools))
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user