remove passing self
This commit is contained in:
@@ -49,7 +49,7 @@ class MinerConfigOption(Enum):
|
||||
return self.value.as_boser()
|
||||
|
||||
def as_epic(self) -> dict:
|
||||
return self.value.as_epic(self)
|
||||
return self.value.as_epic()
|
||||
|
||||
def as_vnish(self) -> dict:
|
||||
return self.value.as_vnish()
|
||||
|
||||
@@ -440,7 +440,7 @@ class MiningModeConfig(MinerConfigOption):
|
||||
throttle_step=algo_info["VoltageOptimizer"].get(
|
||||
"Throttle Step"
|
||||
),
|
||||
algo=TunerAlgo.voltage_optimizer,
|
||||
algo=TunerAlgo.voltage_optimizer(),
|
||||
)
|
||||
else:
|
||||
return cls.hashrate_tuning(
|
||||
|
||||
Reference in New Issue
Block a user