Skip to content

Commit

Permalink
Simplify implementation of TokenBundle.empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Jun 6, 2023
1 parent 7424b60 commit b8c5890
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ buildMap = blockMapF . fmap (first $ id @String)
-- | The empty token bundle.
--
empty :: TokenBundle
empty = TokenBundle (Coin 0) mempty
empty = mempty

-- | Creates a token bundle from a coin and a flat list of token quantities.
--
Expand Down

0 comments on commit b8c5890

Please sign in to comment.