Add Eq instance
This commit is contained in:
parent
4856ec516f
commit
268eb1cd53
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ import qualified Generics.SOP as SOP
|
||||||
-- are valid hex characters.
|
-- are valid hex characters.
|
||||||
data HexString =
|
data HexString =
|
||||||
HexString BS.ByteString
|
HexString BS.ByteString
|
||||||
deriving stock (Prelude.Show, GHC.Generic)
|
deriving stock (Eq, Prelude.Show, GHC.Generic)
|
||||||
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
||||||
deriving anyclass (Data.Structured.Show)
|
deriving anyclass (Data.Structured.Show)
|
||||||
deriving (BorshSize, ToBorsh, FromBorsh) via AsStruct HexString
|
deriving (BorshSize, ToBorsh, FromBorsh) via AsStruct HexString
|
||||||
|
|
Loading…
Reference in a new issue