- 
                Notifications
    You must be signed in to change notification settings 
- Fork 421
Add channel funding txo to Channel Event::ChannelClosed #2800
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 channel funding txo to Channel Event::ChannelClosed #2800
Conversation
6dedd1b    to
    3b7674b      
    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.
The changes look good, and I think this PR can benefit by extending the test suite to cover this new change.
A few suggested nits I believe can further improve this PR.
| Minor changes from review. Changed internal  | 
| Codecov ReportAttention:  
 
 ❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@            Coverage Diff             @@
##             main    #2800      +/-   ##
==========================================
+ Coverage   88.79%   89.19%   +0.39%     
==========================================
  Files         114      114              
  Lines       95767    98266    +2499     
  Branches    95767    98266    +2499     
==========================================
+ Hits        85038    87649    +2611     
+ Misses       8289     8151     -138     
- Partials     2440     2466      +26     ☔ View full report in Codecov by Sentry. | 
702c374    to
    11fe6ae      
    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!
- The suggestions mentioned above are addressed.
- The test suite is extended appropriately to address the current changes, and the tests work perfectly.
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.
ACK 11fe6ae. LGTM
| Thank you! | 
11fe6ae    to
    b17ae87      
    Compare
  
    b17ae87    to
    efaba11      
    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.
Nice, thanks.
Reworked on top of #2809
Fixes #2772
ChannelClosedevent with optional original channel funding txo; to help checking for the existence and confirmation status of the closing txShutdownResultwith funding txouser_channel_id(just for completeness)