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: prevent the first-ever signature subscription from leaking #29056

Merged
merged 1 commit into from Dec 2, 2022
Merged

fix: prevent the first-ever signature subscription from leaking #29056

merged 1 commit into from Dec 2, 2022

Conversation

steveluscher
Copy link
Contributor

Oof. Classic nullish coercion bug. This PR ensures that even subscriptions with exactly the id 0 get cleaned up when they should.

@github-actions github-actions bot added the web3.js Related to the JavaScript client label Dec 2, 2022
@steveluscher steveluscher merged commit 9725a45 into solana-labs:master Dec 2, 2022
@steveluscher steveluscher deleted the there-is-a-hole-in-my-signature-subscription-bucket-dear-liza branch December 2, 2022 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web3.js Related to the JavaScript client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant