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 spending txs with shield data on ledger #359

Merged
merged 2 commits into from
May 2, 2024

Conversation

Duddino
Copy link
Member

@Duddino Duddino commented Apr 26, 2024

Abstract

Split transaction needs to be told when there is additional data, such as shield on PIVX.
This PR just passes true to hasExtraData.
It doesn't need to be passed to the first splitTransaction since you can't create a tx with shield data on ledger anyways
More info can be found here https://www.npmjs.com/package/@ledgerhq/hw-app-btc#splittransaction.

Testing

  • Send a transaction with shield data to your ledger
  • Try spending it

Copy link

netlify bot commented Apr 26, 2024

Deploy Preview for cheery-moxie-4f1121 ready!

Name Link
🔨 Latest commit 11c2455
🔍 Latest deploy log https://app.netlify.com/sites/cheery-moxie-4f1121/deploys/66338adaccfe570008466913
😎 Deploy Preview https://deploy-preview-359--cheery-moxie-4f1121.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 configuration.

@panleone panleone added the Bug This is either a bugfix (PR) or a bug (issue). label Apr 26, 2024
Copy link
Member

@panleone panleone left a comment

Choose a reason for hiding this comment

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

tACK, nice catch.
Tested by spending this tx with my ledger e2ee9617f1764048ff0ce3ae08a60b113bf184a865b0dc0ebd703a06719ed959
on master branch the same tx was failing

@panleone panleone merged commit 0abb640 into PIVX-Labs:master May 2, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is either a bugfix (PR) or a bug (issue).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants