-
Notifications
You must be signed in to change notification settings - Fork 2.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
DeterministicKey::serializePublic and serializePrivate are deprecated without giving a migration path #3150
Comments
For deserialize there are static methods: For serialize there are Note that in 0.17 we will be migrating from |
I'm sorry I don't understand: while I know how to get the private bytes, how do I call serialize on them? |
At present, it seems to me, you have 3 options:
What is your use case? If it's something we overlooked we would consider adding a replacement method in 0.17. |
An old library I need to mantain has a different way to serialize to b58 so I need the serialized bytes. Anyway if it's not planned a replacement I can go with solution 2, it seems viable, thanks. |
For reference, the methods were removed via 5ae7a42. |
I think if you've got your own (non-standard) serialization format for deterministic keys, you should implement that format from scratch, so basically copy and adapt the |
In version 0.16.2 the two methods are deprecated but it's not clear (at least to me) what I should use in place of them since the serialize() method is private
The text was updated successfully, but these errors were encountered: