-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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.