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

Add some public utilities to lightning_invoice #2730

Merged
merged 3 commits into from Nov 15, 2023

Conversation

benthecarman
Copy link
Contributor

Working on adding more testing infra to mutiny. These are some things that would make our life easier, so we can compare/construct things properly.

@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2023

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (6e40e5f) 88.80% compared to head (c2c6c4d) 88.70%.
Report is 32 commits behind head on main.

Files Patch % Lines
lightning-invoice/src/lib.rs 7.14% 12 Missing and 1 partial ⚠️
lightning/src/util/string.rs 0.00% 0 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2730      +/-   ##
==========================================
- Coverage   88.80%   88.70%   -0.10%     
==========================================
  Files         113      113              
  Lines       89170    89355     +185     
  Branches    89170    89355     +185     
==========================================
+ Hits        79188    79263      +75     
- Misses       7729     7839     +110     
  Partials     2253     2253              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

lightning-invoice/src/lib.rs Outdated Show resolved Hide resolved
lightning-invoice/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@shaavan shaavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

Nice work on the new public utilities! They look solid, and I couldn't spot any potential bugs or vulnerabilities. The switch from String to UntrustedString for 'Description' is a smart move too.

Aside from the comment here, I give this pull request a big thumbs up! 👍 Great job!

@TheBlueMatt TheBlueMatt merged commit 9c9e5f8 into lightningdevkit:main Nov 15, 2023
15 checks passed
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 this pull request may close these issues.

None yet

5 participants