Skip to content

Fulfill error handling for send_commitment in processing htlcs forward #393

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

Merged

Conversation

ariard
Copy link

@ariard ariard commented Nov 14, 2019

No description provided.

@TheBlueMatt
Copy link
Collaborator

Looks good at a high level, but is desperately in need of some DRY. At least use the existing break_chan_entry! macro for the first hunk (which it looks like it was copied out of?), though the match after handle_error also could be DRY'd across channelmanager (its not unique/introduced here, though, so if you dont want to do it in this PR thats fine.).

@ariard
Copy link
Author

ariard commented Nov 15, 2019

Yes was my feeling to DRY too, let's get #390 first, then on top of that I've another commit to simplify error management on the whole. From then, will get us better hint on how to DRY the whole

@TheBlueMatt
Copy link
Collaborator

SGTM.

@TheBlueMatt TheBlueMatt merged commit 148c797 into lightningdevkit:master Nov 15, 2019
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.

2 participants