mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
CLN's listpeerchannels reports connection state as peer_connected, but the open/pending channel list columns read the legacy `connected` field, which the backend never populated. It was therefore always empty, so the list always rendered "Disconnected" while the detail panel (which reads peer_connected) showed the true state — the contradiction reported in #1606. Normalize `connected = peer_connected` in the backend listPeerChannels response so legacy consumers stay in sync, and point the list columns at peer_connected directly. Add regression specs asserting the connected column follows peer_connected even when the legacy field disagrees. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| controllers | ||
| models | ||
| routes | ||
| utils | ||
| tsconfig.server.json | ||