Wallet config debugging. More.
This commit is contained in:
parent
90a76735e2
commit
9a36cf99bf
|
@ -249,11 +249,8 @@ async def hive_load_configs(default_power_limits, static_config):
|
|||
fs_core_lock, fs_mem_lock = extract_last_setcore_setmem(wallet_conf_content)
|
||||
for wallet_conf_line in wallet_conf_content.split('\n'):
|
||||
wallet_conf_line = wallet_conf_line.strip()
|
||||
logger.info(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])]
|
||||
logger.info(key)
|
||||
logger.info(value)
|
||||
if key[-9:] == "_TEMPLATE":
|
||||
possible_clore_config = base64_string_to_json(value)
|
||||
if possible_clore_config:
|
||||
|
@ -267,6 +264,7 @@ async def hive_load_configs(default_power_limits, static_config):
|
|||
"clore-rentals" in meta_value and
|
||||
isinstance(meta_value["clore-rentals"], dict) and
|
||||
meta_value["clore-rentals"].get("coin") == "CLORE-Rentals"):
|
||||
logger.info("CLORE RENTALS")
|
||||
clore_miner_present = True
|
||||
except (json.JSONDecodeError, TypeError, KeyError) as e:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue