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

Remove one unnecessary call for sign_holder_commitment_and_htlcs #2579

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

rmalonson
Copy link
Contributor

This is a small first step towards supporting async calls for sign_holder_commitment_and_htlcs (#2520). Here we remove an unnecessary call to onchain_tx_handler.get_fully_signed_holder_tx since it is only being used to pass the current commitment transaction to get_broadcasted_holder_watch_outputs, which doesn't require the transaction to be signed.

@wpaulino
Copy link
Contributor

LGTM. Can you squash and follow our preferred commit message format?

wpaulino
wpaulino previously approved these changes Sep 15, 2023
Copy link
Contributor

@wpaulino wpaulino left a comment

Choose a reason for hiding this comment

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

Thanks! There's a good bit of cleanup we could follow up with whenever we get rid of HolderSignedTx (there's a TODO on L241).

@TheBlueMatt
Copy link
Collaborator

TheBlueMatt commented Sep 15, 2023

Please limit the commit title (and all lines) to 60/70 chars at max. The title should always be followed by a blank line.

@wpaulino
Copy link
Contributor

@TheBlueMatt I think you missed the latest push? Commit looks fine.

@TheBlueMatt
Copy link
Collaborator

Ah, I did. The joys of airplane wifi.

TheBlueMatt
TheBlueMatt previously approved these changes Sep 15, 2023
@TheBlueMatt TheBlueMatt merged commit ab8d502 into lightningdevkit:main Sep 15, 2023
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.

4 participants