Skip to content

Commit

Permalink
Adjust the sort order of Value entries
Browse files Browse the repository at this point in the history
Order the ada case first.
  • Loading branch information
dcoutts committed Nov 23, 2020
1 parent f6db51c commit 844dde7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-api/src/Cardano/Api/Value.hs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ newtype AssetName = AssetName ByteString
deriving stock (Show)
deriving newtype (Eq, Ord, IsString)

data AssetId = AssetId !PolicyId !AssetName
| AdaAssetId
data AssetId = AdaAssetId
| AssetId !PolicyId !AssetName
deriving (Eq, Ord, Show)


Expand Down

0 comments on commit 844dde7

Please sign in to comment.