diff --git a/clore_onboarding.py b/clore_onboarding.py index a897d33..14dda98 100644 --- a/clore_onboarding.py +++ b/clore_onboarding.py @@ -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