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
There is one problem before going to next step (i.e. payment).
The ChannelDetails returned from ChannelManager::list_channels
always have 0 value for both outbound_capacity_msat and inbound_capacity_msat field.
I have checked by println debug that this is not caused by serialization bug in FFI boundary.
And the channel details I got from my REST endpoint is
{
"details": [
{
"channelId": "dfa86388dfa3f6973230b27ba6671a01d724e19204aef1ec188934409e97e066",
"shortChannelId": 352943232581632,
"remoteNetworkId": "02b76b5e7cf84a726dde5c6f88a6dad671ec5a4153a571749269aaeeeb0d874d5e",
"counterPartyFeatures": {
"bitArray": "000000101010001010100001",
"hexBytes": "0x02a2a1",
"prettyPrint": "basic_mpp is optional. gossip_queries is optional. gossip_queries_ex is non supported. initial_routing_sync is non supported. option_data_loss_protect is mandatory. option_static_remotekey is optional. option_support_large_channel is non supported. option_upfront_shutdown_script is optional. payment_secret is optional. var_onion_optin is optional. "
},
"channelValueSatoshis": 100000,
"userId": 16922229370071513000,
"outboundCapacityMSat": 0,
"inboundCapacityMSat": 0,
"isLive": true
}
]
}
I can go futher but before that I wanted to make sure that I'm not missing anything, any clue?
The text was updated successfully, but these errors were encountered:
Oh, ah nevermind. I just realized that endian for ChannelId is reversed... I think this is the issue of my serialization code.
I realized that If that is the case, I could not be able to open the channel in the first place. I will probably investigate the detail later.
Right now, I'm trying to open/close channel against other nodes.
it still has some issues with c-lightning (see e.g. ElementsProject/lightning#3819
ElementsProject/lightning#3815), but it seems working fine for lnd.
There is one problem before going to next step (i.e. payment).
The
ChannelDetails
returned fromChannelManager::list_channels
always have 0 value for both
outbound_capacity_msat
andinbound_capacity_msat
field.I have checked by
println
debug that this is not caused by serialization bug in FFI boundary.Step for reproduction
Response returned from
lnd-cli listchannels
isWhich is sane.
And the channel details I got from my REST endpoint is
I can go futher but before that I wanted to make sure that I'm not missing anything, any clue?
The text was updated successfully, but these errors were encountered: