mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
_do_electrs_status_advanced only handled the negative cases: each guard set installed/configured/status to its false-y value and returned early. On the happy path (electrs installed, configured and running) it fell through, populated the ports and sync details, but never set s.installed/s.configured/s.status - so they kept their AppStatus defaults (False/False/offline). The /apps/status_advanced/electrs endpoint therefore reported electrs as not installed and offline while simultaneously returning its ports and sync details, disagreeing with the app_state_update_message status (fusion44/blitz_api#286). Set the positive values when each guard passes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| apps | ||
| auth | ||
| bitcoind | ||
| external | ||
| lightning | ||
| setup | ||
| system | ||
| __init__.py | ||
| celery_app.py | ||
| logging.py | ||
| main.py | ||
| server.py | ||