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(sdk-core): do not treat sol as a utxo-coin for approval #3687

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

brandonblack
Copy link
Contributor

Solana and Bitcoin-like coins have network property. This will now only detect Bitcoin-like coins as intended.

Should fix approving pending approvals for Solana.

Issue: BG-79393

Solana _and_ Bitcoin-like coins have `network` property. This will now
only detect Bitcoin-like coins as intended.

Should fix approving pending approvals for Solana.

Issue: BG-79393
Copy link
Contributor

@davidkaplanbitgo davidkaplanbitgo left a comment

Choose a reason for hiding this comment

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

We really need to fix this

@brandonblack
Copy link
Contributor Author

Yeah, was thinking same. Need a more robust way to decide whether a transaction can/should be rebuilt 😢

Also should just be able to rebuild even without recipients, but that's a whole other thing around communicating intent consistently through the build/approve/sign/approve/send flow.

@brandonblack brandonblack marked this pull request as ready for review June 22, 2023 20:15
@brandonblack brandonblack requested review from a team as code owners June 22, 2023 20:15
@brandonblack brandonblack merged commit c2a341a into master Jun 22, 2023
5 checks passed
@brandonblack brandonblack deleted the bg-79393-sol-approval-fix branch June 22, 2023 20:38
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.

5 participants