Give us a self when reading a custom onion message#1809
Merged
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom Oct 27, 2022
Merged
Give us a self when reading a custom onion message#1809TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
Conversation
518dcc0 to
70566de
Compare
TheBlueMatt
reviewed
Oct 27, 2022
TheBlueMatt
reviewed
Oct 27, 2022
af59fc9 to
224a987
Compare
Codecov ReportBase: 90.72% // Head: 90.67% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1809 +/- ##
==========================================
- Coverage 90.72% 90.67% -0.05%
==========================================
Files 87 87
Lines 47364 47910 +546
Branches 47364 47910 +546
==========================================
+ Hits 42970 43442 +472
- Misses 4394 4468 +74
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Collaborator
224a987 to
be5b548
Compare
jkczyz
reviewed
Oct 27, 2022
Contributor
jkczyz
left a comment
There was a problem hiding this comment.
LGTM. Just a couple of nits.
be5b548 to
9eeee96
Compare
+ remove MaybeReadableArgs trait as it is now unused + remove onion_utils::DecodeInput as it would've now needed to be parameterized by the CustomOnionMessageHandler trait, and we'd like to avoid either implementing DecodeInput in messenger or having onion_utils depend on onion_message::* Co-authored-by: Matt Corallo <git@bluematt.me> Co-authored-by: Valentine Wallace <vwallace@protonmail.com>
9eeee96 to
150c87a
Compare
jkczyz
approved these changes
Oct 27, 2022
TheBlueMatt
approved these changes
Oct 27, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needed for the bindings and gives a bit more flexibility for users as well