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

feat(signers): implement Serde and make Wallet API smaller #20

Merged
merged 2 commits into from
Jun 17, 2020

Conversation

gakonst
Copy link
Owner

@gakonst gakonst commented Jun 17, 2020

Motivation

As @tuxxy pointed out, we should not allow users to manually override the Wallet's fields, as it can lead to inconsistencies.

Solution

Make the fields private, expose getter functions.

Drive-by changes:

  • implement Serde for Private/Public key
  • Downgrade some deps so that they're compatible with a couple other repos I'd like to use

@gakonst gakonst changed the title feat(signers): implement Serde and make API smaller feat(signers): implement Serde and make Wallet API smaller Jun 17, 2020
@gakonst gakonst merged commit 1a47e93 into master Jun 17, 2020
@gakonst gakonst deleted the gakonst/crypto-fixes branch June 17, 2020 06:38
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.

None yet

1 participant