Skip to content

Conversation

@starius
Copy link
Collaborator

@starius starius commented Mar 16, 2025

Ensure that MuSig2 cleanup does happen even if a context expires.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

Ensure that MuSig2 cleanup does happen even if a context expires.
@starius starius requested a review from hieblmi March 16, 2025 21:27
@starius starius marked this pull request as ready for review March 16, 2025 22:59
for _, s := range sessions {
err := f.cfg.Signer.MuSig2Cleanup(ctx, s.SessionID)
err := f.cfg.Signer.MuSig2Cleanup(
context.WithoutCancel(ctx), s.SessionID,
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice subtle catch

@hieblmi hieblmi self-requested a review March 16, 2025 23:09
Copy link
Collaborator

@hieblmi hieblmi left a comment

Choose a reason for hiding this comment

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

LGTM✅

@starius starius requested review from bhandras and sputn1ck March 16, 2025 23:32
@starius starius merged commit a253b40 into lightninglabs:master Mar 17, 2025
4 checks passed
@starius starius deleted the cleanup-without-cancel branch March 17, 2025 15:03
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.

3 participants