Wallet config debugging. More.
This commit is contained in:
parent
4953ffe965
commit
2263d293c8
|
@ -260,6 +260,10 @@ 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":
|
||||||
|
@ -269,7 +273,6 @@ async def hive_load_configs(default_power_limits, static_config):
|
||||||
"clore-rentals" in meta_value and
|
"clore-rentals" in meta_value and
|
||||||
isinstance(meta_value["clore-rentals"], dict) and
|
isinstance(meta_value["clore-rentals"], dict) and
|
||||||
meta_value["clore-rentals"].get("coin") == "CLORE-Rentals"):
|
meta_value["clore-rentals"].get("coin") == "CLORE-Rentals"):
|
||||||
logger.info("CLORE RENTALS")
|
|
||||||
clore_miner_present = True
|
clore_miner_present = True
|
||||||
except (json.JSONDecodeError, TypeError, KeyError) as e:
|
except (json.JSONDecodeError, TypeError, KeyError) as e:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue