8000 Fix Transaction Blockhash Update in Sign and Send Flow by gitteri · Pull Request #52 · solana-foundation/kora · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Transaction Blockhash Update in Sign and Send Flow #52

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

Merged
merged 2 commits into from
Apr 18, 2025

Conversation

gitteri
Copy link
Collaborator
@gitteri gitteri commented Apr 18, 2025

Fix Transaction Blockhash Update in Sign and Send Flow

Overview

This PR fixes a critical issue where transactions were being inadvertently modified by updating their blockhash when using the sign and send endpoint. The fix ensures transaction integrity is maintained by preventing blockhash updates during the sign and send flow if there's already signatures on the transaction.

Changes

  • update the sign_transaction function to only update the blockhash if there isn't a signature already on the transaction

Testing

  • Confirmed all other signing flows continue to work as expected

@gitteri gitteri requested a review from pkxro April 18, 2025 21:37
@gitteri gitteri merged commit 4638388 into solana-foundation:main Apr 18, 2025
1 check passed
@gitteri gitteri deleted the bug-sign-and-send branch April 18, 2025 21:55
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.

2 participants
0