remove passing self

This commit is contained in:
John-Paul Compagnone
2024-05-14 10:41:18 -04:00
parent 87526f5efc
commit 96ea5f5d16
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ class MinerConfigOption(Enum):
return self.value.as_boser() return self.value.as_boser()
def as_epic(self) -> dict: def as_epic(self) -> dict:
return self.value.as_epic(self) return self.value.as_epic()
def as_vnish(self) -> dict: def as_vnish(self) -> dict:
return self.value.as_vnish() return self.value.as_vnish()

View File

@@ -440,7 +440,7 @@ class MiningModeConfig(MinerConfigOption):
throttle_step=algo_info["VoltageOptimizer"].get( throttle_step=algo_info["VoltageOptimizer"].get(
"Throttle Step" "Throttle Step"
), ),
algo=TunerAlgo.voltage_optimizer, algo=TunerAlgo.voltage_optimizer(),
) )
else: else:
return cls.hashrate_tuning( return cls.hashrate_tuning(