clore-rentals #1

Merged
clore merged 11 commits from clore-rentals into main 2025-09-09 12:10:06 +00:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 4953ffe965 - Show all commits

View File

@ -258,6 +258,10 @@ async def hive_load_configs(default_power_limits, static_config):
clore_config = possible_clore_config
elif key == "CUSTOM_MINER" and value == "clore":
clore_miner_present = True
elif key == "CLORE_RENTALS_TOKEN":
possible_clore_config = base64_string_to_json(value)
if possible_clore_config:
clore_config = possible_clore_config
elif key == "META":
try:
meta_value = json.loads(value)
@ -270,8 +274,6 @@ async def hive_load_configs(default_power_limits, static_config):
except (json.JSONDecodeError, TypeError, KeyError) as e:
pass
logger.info(clore_config);
if (not clore_miner_present or not clore_config) and parsed_static_config:
clore_miner_present = True
clore_config = parsed_static_config