mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 11:29:27 +00:00
Resolve BTC RPC Explorer confusing status
This commit is contained in:
parent
84ac7e3a09
commit
ba5fa9e3cf
|
@ -591,12 +591,13 @@ def get_application_status(short_name):
|
|||
return "Installing..."
|
||||
if app["requires_lightning"] and not is_lnd_ready():
|
||||
return "Waiting on Lightning"
|
||||
if app["requires_electrs"] and not is_electrs_active():
|
||||
return "Waiting on Electrum"
|
||||
if not app["is_enabled"]:
|
||||
return app["app_tile_default_status_text"]
|
||||
if app["requires_bitcoin"] and not is_bitcoin_synced():
|
||||
return "Waiting on Bitcoin"
|
||||
if app["requires_electrs"] and not is_electrs_active():
|
||||
return "Waiting on Electrum"
|
||||
|
||||
|
||||
# Check special cases
|
||||
special_status = get_application_status_special(short_name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user