Skip to content

Commit

Permalink
fixup! Fix json instance of TokenMap
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Jan 22, 2021
1 parent c73e858 commit baa8d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/src/Cardano/Wallet/Primitive/Types/TokenMap.hs
Expand Up @@ -385,13 +385,13 @@ instance FromJSON (Nested TokenMap) where

-- Used for JSON serialization only: not exported.
data NestedMapEntry = NestedMapEntry
{ _policy :: !TokenPolicyId
{ _policyId :: !TokenPolicyId
, _tokens :: ![NestedTokenQuantity]
} deriving Generic

-- Used for JSON serialization only: not exported.
data NestedTokenQuantity = NestedTokenQuantity
{ _token :: !TokenName
{ _assetName :: !TokenName
, _quantity :: !TokenQuantity
} deriving Generic

Expand Down

0 comments on commit baa8d9e

Please sign in to comment.