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

fix: Do not accept channel collaborative close offer on reconnect. #1986

Closed

Conversation

holzeis
Copy link
Contributor

@holzeis holzeis commented Feb 8, 2024

The dlc channel will be updated to CollaborativeCloseOffered if the collab closed has been offered (by the offering party).

Hence it is wrong to interpret the state SignedChannelState::CollaborativeCloseOffered as pending offer.

fixes #1973

The dlc channel will be updated to `CollaborativeCloseOffered` if the collab closed has been offered (by the offering party).

Hence it is wrong to interpret the state `SignedChannelState::CollaborativeCloseOffered` as pending offer.
@holzeis holzeis requested review from bonomat and luckysori February 8, 2024 12:45
@holzeis holzeis self-assigned this Feb 8, 2024
@holzeis holzeis enabled auto-merge February 8, 2024 12:45
Copy link
Contributor

@bonomat bonomat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to merge this but is this really the fix for the linked ticket?

My understanding is that the user is stuck in CollaborativeCloseOffered even though it should have been processed.

@holzeis
Copy link
Contributor Author

holzeis commented Feb 8, 2024

I think that fix is not correct.

@holzeis holzeis closed this Feb 8, 2024
auto-merge was automatically disabled February 8, 2024 13:03

Pull request was closed

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.

DLC Channel does not change state to CollaborativelyClosed if it failed to broadcast the transaction
2 participants