Merge pull request 'Add Read instance to Phrase' (#36) from rav001 into dev040

Reviewed-on: #36
This commit is contained in:
pitmutt 2024-03-14 18:14:37 +00:00 committed by Vergara Technologies LLC
commit 5b08026102
Signed by: Vergara Technologies LLC
GPG key ID: 99DB473BB4715618

View file

@ -55,7 +55,7 @@ instance ToBytes Seed where
-- | A mnemonic phrase used to derive seeds
newtype Phrase =
Phrase BS.ByteString
deriving stock (Eq, Prelude.Show, GHC.Generic)
deriving stock (Eq, Prelude.Show, GHC.Generic, Read)
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
deriving anyclass (Data.Structured.Show)
deriving (BorshSize, ToBorsh, FromBorsh) via AsStruct Phrase