-
Notifications
You must be signed in to change notification settings - Fork 366
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
Move accept_channel checks into ChannelContext::do_accept_channel_checks
#3123
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3123 +/- ##
==========================================
- Coverage 89.90% 89.90% -0.01%
==========================================
Files 121 121
Lines 99170 99181 +11
Branches 99170 99181 +11
==========================================
+ Hits 89159 89164 +5
+ Misses 7408 7407 -1
- Partials 2603 2610 +7 ☔ View full report in Codecov by Sentry. |
@@ -2146,6 +2146,141 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider { | |||
} | |||
} | |||
|
|||
pub fn do_accept_channel_checks( |
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.
Seems all the other pub
methods here have doc comments. Should this, too?
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.
Could use a doc comment like @tnull suggested, otherwise LGTM.
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
7857d24
to
e3fcbb6
Compare
…ecks` This is done ahead of getting the dual-funding implementation to reduce refactoring noise there.
e3fcbb6
to
0881b24
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
This is done ahead of getting the dual-funding implementation to reduce refactoring noise there.
See #2302.