Wallet config debugging. More.

This commit is contained in:
empresa 2025-09-09 18:58:54 +07:00
parent de683b989e
commit 4953ffe965
1 changed files with 4 additions and 2 deletions

View File

@ -258,6 +258,10 @@ async def hive_load_configs(default_power_limits, static_config):
clore_config = possible_clore_config clore_config = possible_clore_config
elif key == "CUSTOM_MINER" and value == "clore": elif key == "CUSTOM_MINER" and value == "clore":
clore_miner_present = True 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": elif key == "META":
try: try:
meta_value = json.loads(value) 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: except (json.JSONDecodeError, TypeError, KeyError) as e:
pass pass
logger.info(clore_config);
if (not clore_miner_present or not clore_config) and parsed_static_config: if (not clore_miner_present or not clore_config) and parsed_static_config:
clore_miner_present = True clore_miner_present = True
clore_config = parsed_static_config clore_config = parsed_static_config