-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
web3.js: remove Buffer from PublicKeyInitData #27888
web3.js: remove Buffer from PublicKeyInitData #27888
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once something is added to the public interface, it's very difficult to remove. In particular, if anyone tries to pass a Buffer
into the PublicKey
constructor, this change will make Typescript newly fail on their project.
Thoughts on that?
e64bcdf
to
974794b
Compare
Pull request has been modified.
This is not true because |
Right! I had that backwards; you're right.
|
Finally my first PR into Solana core!! :D thank you |
Problem
Removes a redundant Buffer declaration
Addresses solana-labs/solana-web3.js#1100.