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

Settle HTLCs revoked commit #1630

Merged
merged 2 commits into from
Dec 15, 2020
Merged

Settle HTLCs revoked commit #1630

merged 2 commits into from
Dec 15, 2020

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Dec 14, 2020

When a revoked commitment is published, we didn't correctly settle pending HTLCs, which could lead to upstream channel closure.

This would not cause a loss of funds (especially since we would gain funds from the revoked channel) but it's a temporary liquidity loss that we'd like to avoid.

I took this opportunity to rework the revoked close tests to cover more scenarios.

When a revoked commitment is published, we didn't correctly settle pending
HTLCs, which could lead to upstream channel closure.

This would not cause a loss of funds (especially since we would gain
funds from the revoked channel) but it's a temporary liquidity loss that
we'd like to avoid.
@t-bast t-bast requested a review from pm47 December 14, 2020 13:25
@t-bast t-bast merged commit 810323c into master Dec 15, 2020
@t-bast t-bast deleted the revoked-close-settle-htlcs branch December 15, 2020 11:35
t-bast added a commit that referenced this pull request Dec 15, 2020
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