Add JSON instances for ZcashNet
This commit is contained in:
parent
e8074419cf
commit
7c79ee6163
2 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.6.2.2]
|
||||
|
||||
- Added JSON instances for `ZcashNet`
|
||||
|
||||
## [0.6.2.1]
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -90,7 +90,7 @@ data ZcashNet
|
|||
= MainNet
|
||||
| TestNet
|
||||
| RegTestNet
|
||||
deriving (Eq, Prelude.Show, Read)
|
||||
deriving (Eq, Prelude.Show, Read, GHC.Generic, ToJSON, FromJSON)
|
||||
|
||||
type AccountId = Int
|
||||
|
||||
|
|
Loading…
Reference in a new issue