-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: deserializing GenerationSpendingKey with serde_json
The custom Deserialize impl was failing with serde_json because it uses the map visitor access pattern, rather than the seq pattern used by bincode. This commit re-implements it to support both types and adds tests for both. ---- also ---- updates the generation_key_derivation tests to use: 1. spending-keys serialized with latest code (seed only). 2. receiving addrs from alphanet-v5 tag, which uses nolgam prefix and is before the team began receiving premine-addresses from 3rd parties. all generation_key_derivation tests now pass, which verifies that receiving addresses have not changed since alphanet-v5.
- Loading branch information
Showing
2 changed files
with
105 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.