diff --git a/CHANGELOG.md b/CHANGELOG.md index 24814be..2f3492f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/ZcashHaskell/Types.hs b/src/ZcashHaskell/Types.hs index af60f0f..f806413 100644 --- a/src/ZcashHaskell/Types.hs +++ b/src/ZcashHaskell/Types.hs @@ -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