Update accesor for HexString

This commit is contained in:
Rene Vergara 2024-02-05 20:25:06 -06:00
parent 998ff44733
commit 8c634d8aa6
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -37,7 +37,7 @@ import qualified Generics.SOP as SOP
-- | Represents a Hex string. Guarantees that all characters it contains
-- are valid hex characters.
newtype HexString = HexString
{ bytes :: BS.ByteString
{ hexBytes :: BS.ByteString
} deriving stock (Eq, Prelude.Show, GHC.Generic)
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
deriving anyclass (Data.Structured.Show)