bug: fix bad type hint
This commit is contained in:
@@ -416,9 +416,7 @@ class MiningModePreset(MinerConfigValue):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_luxos(
|
def from_luxos(cls, rpc_config: dict, rpc_profiles: dict) -> "MiningModePreset":
|
||||||
cls, rpc_config: dict, rpc_profiles: list[dict]
|
|
||||||
) -> "MiningModePreset":
|
|
||||||
active_preset = cls.get_active_preset_from_luxos(rpc_config, rpc_profiles)
|
active_preset = cls.get_active_preset_from_luxos(rpc_config, rpc_profiles)
|
||||||
return cls(
|
return cls(
|
||||||
active_preset=active_preset,
|
active_preset=active_preset,
|
||||||
|
|||||||
Reference in New Issue
Block a user