Add Read instance to Phrase #36

Merged
pitmutt merged 1 commits from rav001 into dev040 2024-03-14 18:14:37 +00:00
1 changed files with 1 additions and 1 deletions

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