cover chiptune case

This commit is contained in:
John-Paul Compagnone
2023-12-21 01:38:10 -05:00
parent 6f6f5743cf
commit 07f92557c6

View File

@@ -194,7 +194,7 @@ class MiningModeConfig(MinerConfigOption):
if web_conf["PerpetualTune"]["Algorithm"].get("VoltageOptimizer") is not None:
return cls.hashrate_tuning(web_conf["PerpetualTune"]["Algorithm"]["VoltageOptimizer"].get("Target"))
else:
return cls.hashrate_tuning()
return cls.hashrate_tuning(web_conf["PerpetualTune"]["Algorithm"]["ChipTune"].get("Target"))
else:
return cls.normal()
return cls.default()