File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
plutus-ledger-api/src/PlutusLedgerApi/V3 Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ newtype MintValue = UnsafeMintValue (Map CurrencySymbol (Map TokenName Integer))
6262 deriving newtype (ToData , FromData , UnsafeFromData )
6363 deriving (Pretty ) via (PrettyShow MintValue )
6464
65- -- Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
66- -- regardless of internal Map representation. Cannot use deriveEq for semantic equality.
65+ {-| Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
66+ regardless of internal Map representation. Cannot use deriveEq for semantic equality. -}
6767instance PlutusTx. Eq MintValue where
6868 {-# INLINEABLE (==) #-}
6969 l == r = mintValueMinted l == mintValueMinted r && mintValueBurned l == mintValueBurned r
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ newtype MintValue = UnsafeMintValue {unMintValue :: Map CurrencySymbol (Map Toke
6767 deriving newtype (ToData , FromData , UnsafeFromData )
6868 deriving (Pretty ) via (PrettyShow MintValue )
6969
70- -- Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
71- -- regardless of internal Map representation. Cannot use deriveEq for semantic equality.
70+ {-| Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
71+ regardless of internal Map representation. Cannot use deriveEq for semantic equality. -}
7272instance PlutusTx. Eq MintValue where
7373 {-# INLINEABLE (==) #-}
7474 l == r = mintValueMinted l == mintValueMinted r && mintValueBurned l == mintValueBurned r
You can’t perform that action at this time.
0 commit comments