-
Notifications
You must be signed in to change notification settings - Fork 12
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
Upgrade to version 0.0.124 #133
Conversation
885dc5c
to
e360173
Compare
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.
Mostly looks good, one comment.
Feel free to squash the fixup.
@@ -290,10 +290,13 @@ public class ChannelManagerConstructor: NativeTypeWrapper { | |||
self.customPersister = CustomChannelManagerPersister(handler: persister) | |||
self.customEventHandler = CustomEventHandler(handler: persister) | |||
|
|||
let ignoringMessageHandler = IgnoringMessageHandler() | |||
|
|||
let onionMessenger = OnionMessenger.initWith(entropySource: self.constructionParameters.entropySource, nodeSigner: self.constructionParameters.nodeSigner, logger: self.constructionParameters.logger, nodeIdLookup: NodeIdLookUp(), messageRouter: MessageRouter(), offersHandler: ignoringMessageHandler.asOffersMessageHandler(), asyncPaymentsHandler: ignoringMessageHandler.asAsyncPaymentsMessageHandler(), customHandler: ignoringMessageHandler.asCustomOnionMessageHandler()) |
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.
Rather than IgnoringMessageHandler
, we probably want to set ChannelManager
as the OffersMessageHandler
to enable BOLT12 support, no?
Btw, can we add some test coverage to check BOLT12 support is functional?
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.
Absolutely, I'll open an issue.
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.
Absolutely, I'll open an issue.
Sure, but we'll probably still want to add BOLT12 support before release I assume?
e360173
to
9bb5c40
Compare
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.
LGTM as is, but we should enable BOLT12 support for this release, IMO.
No description provided.