-
-
Notifications
You must be signed in to change notification settings - Fork 174
Description
Describe the bug
When opening multiple channels in a single batch transaction (same funding TXID, different output indices), only one of the channels appears in the Polar graph designer. The other channel(s) are missing from the UI.
Running lncli --network=regtest listchannels on the nodes confirms that both channels exist and are active. This is purely a UI issue.
Suspected cause:
The batch transaction produces a single funding TXID with two different output indices. Polar may be keying channel lookups on the funding TXID alone, causing it to only recognize the first output as a channel and ignoring subsequent outputs from the same transaction.
To Reproduce
- Create a network with 3 LND nodes (Alice, Bob, Carol)
- From an external wallet connected to Bob, batch-open channels to both Alice and Carol simultaneously (using LND's PSBT-based channel batching via openChannelStream)
- Mine 3 blocks to confirm
- Observe the graph designer
Expected behavior
Both channels (Bob→Alice and Bob→Carol) appear in the graph designer.
Desktop (please complete the following information):
- OS: Windows 11 25h2
- Polar Version: 4.0.0
- Docker Version: 29.2.0
- Docker Compose Version: 5.0.2