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

Doc and style followups from #2675 #2748

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

Mostly just doc updates, but also dropped the PaymentKey type that's actually unused.

This also adds required linebreaks to keep the docs to a reasonable
width.
935a716 changed the parameter
names to `RevocationKey` derivation to remove the naming which made
clear one of the two parameters is a countersignatory key, which is
restored here.
@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2023

Codecov Report

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

Comparison is base (74078c4) 88.53% compared to head (3b6d693) 90.52%.
Report is 278 commits behind head on main.

Files Patch % Lines
lightning/src/ln/channel_keys.rs 98.30% 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    #2748      +/-   ##
==========================================
+ Coverage   88.53%   90.52%   +1.99%     
==========================================
  Files         114      115       +1     
  Lines       89417   106889   +17472     
  Branches    89417   106889   +17472     
==========================================
+ Hits        79165    96763   +17598     
+ Misses       7872     7806      -66     
+ Partials     2380     2320      -60     

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

935a716 added new wrappers for the
various channel keys, including a payment_key. However, the
`payment_key` has been unused in lightning since the introduction
(and broad requiring) of the `static_remotekey` feature.

Thus, we simply remove it (and an incredibly stale TODO) here.
This also adds required linebreaks to keep the docs to a reasonable
width.
@TheBlueMatt
Copy link
Collaborator Author

Squashed.

@TheBlueMatt
Copy link
Collaborator Author

Aside from some variable renames, this PR is entirely whitespace and doc changes, so there's no real need to wait on a second reviewer.

@TheBlueMatt TheBlueMatt merged commit f352d03 into lightningdevkit:main Jan 9, 2024
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.

3 participants