bug: type convert to int for vnish config

This commit is contained in:
Upstream Data
2024-12-02 09:22:00 -07:00
parent aed9e0e406
commit 437ee774ab

View File

@@ -384,7 +384,7 @@ class MiningModeManual(MinerConfigValue):
def as_vnish(self) -> dict:
return {
"chains": [b.as_vnish() for b in self.boards.values() if b.freq != 0],
"globals": {"freq": self.global_freq, "volt": self.global_volt},
"globals": {"freq": int(self.global_freq), "volt": int(self.global_volt)},
}
@classmethod