Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant