bug: fix a bug with config on S9 sometimes not having quota set.

This commit is contained in:
Upstream Data
2025-01-07 08:56:39 -07:00
parent 51abdf0b2d
commit dc126b2953
2 changed files with 18 additions and 18 deletions

View File

@@ -364,7 +364,7 @@ class PoolGroup(MinerConfigValue):
if toml_group_conf.get("pool") is not None:
return cls(
name=toml_group_conf["name"],
quota=toml_group_conf.get("quota"),
quota=toml_group_conf.get("quota", 1),
pools=[Pool.from_bosminer(p) for p in toml_group_conf["pool"]],
)
return cls()