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

contractcourt: make sure we force sweep outgoing htlcs #7966

Merged

Conversation

yyforyongyu
Copy link
Collaborator

We added this change in #7726, but it was removed in master, probably due to recent rebase.

@yyforyongyu yyforyongyu added this to the v0.17.0 milestone Sep 8, 2023
@yyforyongyu yyforyongyu self-assigned this Sep 8, 2023
Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 🌲

@@ -462,6 +462,7 @@ func (h *htlcTimeoutResolver) sweepSecondLevelTx() error {
Fee: sweep.FeePreference{
ConfTarget: secondLevelConfTarget,
},
Force: true,
Copy link
Member

Choose a reason for hiding this comment

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

🤦

Fine with getting in as is for rc3, but we should circle back here with additional test coverage.

@Roasbeef Roasbeef merged commit 8c53620 into lightningnetwork:master Sep 12, 2023
31 of 33 checks passed
@yyforyongyu yyforyongyu deleted the add-force-sweep-outgoing branch September 12, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants