-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add implementation for UpdateChannelConfig Api. #16
Conversation
//FIXME: Use ldk/ldk-node's partial config update api. | ||
let current_config = node | ||
.list_channels() | ||
.into_iter() | ||
.find(|c| c.user_channel_id.0 == user_channel_id) | ||
.ok_or_else(|| ldk_node::NodeError::InvalidChannelId)? | ||
.config; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we do this now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Afaiu, Currently there is no api in ldk-node for partial config update, this will have to wait until next ldk-node release.
Since the functionality/user-interface here is equivalent, I don't think there is much point in waiting till then.
Created: lightningdevkit/ldk-node#385
We can remove this once that is complete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right!
Based on #15