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 reload of selected psbt after update #1513

Merged

Conversation

edouardparis
Copy link
Member

close #1505

@jp1ac4
Copy link
Collaborator

jp1ac4 commented Jan 4, 2025

This doesn't seem to be working for me. When I click "Update" on an unsigned PSBT and then insert the signed PSBT in the modal, it still shows the PSBT as unsigned until I go back to the PSBTs list and re-select this PSBT.

@edouardparis
Copy link
Member Author

Are you using the psbts panels ?
Maybe you have the problem with the spend creation panel at the psbt step.

@jp1ac4
Copy link
Collaborator

jp1ac4 commented Jan 6, 2025

It's on the PSBTs panel. Here's a quick video of what I did:

Screencast.from.2025-01-06.09-29-55.webm

When inserting the signed PSBT, the status shows "Not ready" until I go back to the PSBTs list and select the updated PSBT.

edouardparis added a commit that referenced this pull request Jan 6, 2025
86e30d2 fix: merge Taproot sigs when updating PSBT (Michael Mallan)

Pull request description:

  While testing #1513, it became apparent that Taproot signatures were not being merged properly when updating a PSBT.

  This PR fixes and refactors the code to use the `merge_signatures` function that contains the required logic.

ACKs for top commit:
  edouardparis:
    utACK 86e30d2

Tree-SHA512: ba07d8d2e612d41a3960c5ce04258775334ca22c5268d51822d4e1fbce9614424937e72e688b6006946064c3c04581c20ca2f159bb1bc2a916d98e7e1ef2dc7b
@edouardparis
Copy link
Member Author

We believe the non updated psbt was fixed by #1519

Copy link
Member Author

@edouardparis edouardparis left a comment

Choose a reason for hiding this comment

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

Self-ACK ebc52cc

@edouardparis edouardparis merged commit 77142b5 into wizardsardine:master Jan 6, 2025
24 checks passed
@edouardparis edouardparis deleted the fix-1505-update-psbt branch January 6, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

The status of an imported already signed PSBT is not correctly updated
3 participants