Skip to content
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

Update OnionMessenger to use ChannelManager as message handler #14

Open
kannapoix opened this issue Nov 4, 2024 · 0 comments · May be fixed by #15
Open

Update OnionMessenger to use ChannelManager as message handler #14

kannapoix opened this issue Nov 4, 2024 · 0 comments · May be fixed by #15

Comments

@kannapoix
Copy link

kannapoix commented Nov 4, 2024

We are using our own OnionMessenger type which implements our own OffersMessageHandler implementation.
We can now use the LDK default SimpleArcOnionMessenger as OnionMessenger, because LDK ChannelManager now implements OffersMessageHandler.

This is already pointed out as a code comment:

ldk-sample/src/lib.rs

Lines 182 to 183 in 57b5e50

// TODO: We should sync this with ldk-sample. Now ChannelManager implements the OnionMessageHandler
// and we no longer need to do this.

@kannapoix kannapoix linked a pull request Dec 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant