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
In Terminal we display closed channels for the connected node. While adding support for Taproot Assets, I discovered that the lndPendingChannels and ClosedChannels RPCs does not include the custom_channel_data for closed asset channels, which is present for open channels. The result is that it is not possible to determine what asset was in the channel prior to closing it. We are not able to display the asset information in the list of closed channels in terminal.
Your environment
tapcli getinfo # version of `tapd`, `lnd`, and network
{
"version": "0.5.1-alpha commit=v0.5.1",
"lnd_version": "0.18.5-beta",
"network": "regtest",
"lnd_identity_pubkey": "032657ff49b02e43e74b0132f389d0e635c2f9e4128065e51b75ceda7b635a65ec",
"node_alias": "zane",
"block_height": 332,
"block_hash": "5227419e45e34c8090538c7f83fd6fe71d7527c01665898c129b168cdc370b90",
"sync_to_chain": true
}
any other relevant environment details
Steps to reproduce
Open an asset channel
Run lncli pendingchannels and confirm the asset info is in the custom_channel_data field
Uh oh!
There was an error while loading. Please reload this page.
Background
In Terminal we display closed channels for the connected node. While adding support for Taproot Assets, I discovered that the
lnd
PendingChannels and ClosedChannels RPCs does not include thecustom_channel_data
for closed asset channels, which is present for open channels. The result is that it is not possible to determine what asset was in the channel prior to closing it. We are not able to display the asset information in the list of closed channels in terminal.Your environment
Steps to reproduce
Open an asset channel
Run
lncli pendingchannels
and confirm the asset info is in thecustom_channel_data
fieldCommand output
Mine blocks to confirm the channel funding
Run
lncli listchannels
and confirm the asset info is in thecustom_channel_data
fieldCommand output
Close the channel
Run
lncli pendingchannels
and confirm thecustom_channel_data
field is not presentCommand output
Mine blocks to confirm the channel closing
Run
lncli closedchannels
and confirm thecustom_channel_data
field is not presentCommand output
Expected behavior
The
custom_channel_data
field should be present in thependingchannels
andclosedchannels
RPC responses for closed asset channels.Actual behavior
The
custom_channel_data
field is not present in thependingchannels
andclosedchannels
RPC responses for closed asset channels.The text was updated successfully, but these errors were encountered: