You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's best to skip when pendingBalancesDetails is empty since by then the channel is properly closed and is not listed in ListChannels response so we don't even fetch the remote node's info to display the alias (and we only have the channel id (see PendingSweepBalance docs) so I'm not sure if we can even fetch the node pubkey using it)
@im-adithya thanks for looking into it! I don't agree though - if the funds are not swept yet then there are no incoming funds that we can show next to the onchain balance. ListChannelsonly returns channels which have no closure initiated yet.
@rdmitr are you able to see if it's possible to include some additional fields in balances.PendingBalancesFromChannelClosures such as the CounterpartyNodeId, FundingTxId and FundingTxIndex similar to what you did in getAlby/ldk-node#60? in Alby Hub as Adithya linked above, we handle those ones differently.
The text was updated successfully, but these errors were encountered: