Wallet config debugging. More.

This commit is contained in:
empresa 2025-09-09 19:07:15 +07:00
parent 2263d293c8
commit a60adedafd
1 changed files with 0 additions and 5 deletions

View File

@ -249,7 +249,6 @@ async def hive_load_configs(default_power_limits, static_config):
fs_core_lock, fs_mem_lock = extract_last_setcore_setmem(wallet_conf_content) fs_core_lock, fs_mem_lock = extract_last_setcore_setmem(wallet_conf_content)
for wallet_conf_line in wallet_conf_content.split('\n'): for wallet_conf_line in wallet_conf_content.split('\n'):
wallet_conf_line = wallet_conf_line.strip() wallet_conf_line = wallet_conf_line.strip()
logger.info(wallet_conf_line)
if wallet_conf_line[:1] != "#" and '=' in wallet_conf_line: if wallet_conf_line[:1] != "#" and '=' in wallet_conf_line:
key, value = [wallet_conf_line.split('=', 1)[0], clean_config_value(wallet_conf_line.split('=', 1)[1])] key, value = [wallet_conf_line.split('=', 1)[0], clean_config_value(wallet_conf_line.split('=', 1)[1])]
if key[-9:] == "_TEMPLATE": if key[-9:] == "_TEMPLATE":
@ -260,10 +259,6 @@ async def hive_load_configs(default_power_limits, static_config):
clore_miner_present = True clore_miner_present = True
elif key == "CLORE_RENTALS_TOKEN": elif key == "CLORE_RENTALS_TOKEN":
possible_clore_config = base64_string_to_json(value) possible_clore_config = base64_string_to_json(value)
logger.info("---------")
logger.info(value)
logger.info(possible_clore_config)
logger.info("---------")
if possible_clore_config: if possible_clore_config:
clore_config = possible_clore_config clore_config = possible_clore_config
elif key == "META": elif key == "META":