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

Add non-witness-utxos and xpubs when using hwi with ledger #1888

Merged
merged 2 commits into from Sep 19, 2022

Conversation

bigspider
Copy link
Contributor

@bigspider bigspider commented Sep 15, 2022

Currently, Specter Desktop doesn't add the global xpubs to the psbt when signing transactions with ledger devices. Since HWI uses them to figure out the right parameters for the hardware wallet, HWI falls back to the legacy protocol.

The next release of the Ledger bitcoin app (version 2.1.0) will remove compatiblity with the legacy protocol (before version 2.0.0 of the app), so it will not be able to sign with HWI psbts without the global xpubs.

This instructs Specter to add the xpubs.
Moreover, it also adds the non-witness-utxos, since a warning would be shown if the non-witness-utxo is missing on segwitv0 transactions.

Closes: #1886

@netlify
Copy link

netlify bot commented Sep 15, 2022

Deploy Preview for specter-desktop-docs ready!

Name Link
🔨 Latest commit 828bae2
🔍 Latest deploy log https://app.netlify.com/sites/specter-desktop-docs/deploys/63249211b076630007f43e38
😎 Deploy Preview https://deploy-preview-1888--specter-desktop-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@k9ert k9ert requested review from moneymanolis and k9ert and removed request for moneymanolis September 15, 2022 13:27
@k9ert
Copy link
Collaborator

k9ert commented Sep 19, 2022

Tested and worked with my Ledger! Thank you very much appreciated!

@k9ert k9ert merged commit 62f8239 into cryptoadvance:master Sep 19, 2022
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.

Missing PSBT_GLOBAL_XPUB fields in generated PSBTs
3 participants