Skip to content

Commit

Permalink
Merge pull request #1400 from Plutonomicon/klntsky/fix-ps-tuple-bundl…
Browse files Browse the repository at this point in the history
…ing-issue

Attempt to fix bundling issues due to the use of infix tuple type constructor
  • Loading branch information
klntsky committed Jan 30, 2023
2 parents 31ad48c + a34c008 commit f09c25c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Internal/Plutip/UtxoDistribution.purs
Expand Up @@ -56,6 +56,7 @@ import Data.Map as Map
import Data.Maybe (Maybe(Nothing, Just))
import Data.Newtype (unwrap)
import Data.Traversable (traverse)
import Data.Tuple (Tuple)
import Data.Tuple.Nested (type (/\), (/\))
import Effect.Class (liftEffect)
import Effect.Ref as Ref
Expand Down Expand Up @@ -135,7 +136,8 @@ instance
( UtxoDistribution headSpec headWallets
, UtxoDistribution restSpec restWallets
) =>
UtxoDistribution (headSpec /\ restSpec) (headWallets /\ restWallets) where
UtxoDistribution (Tuple headSpec restSpec)
(Tuple headWallets restWallets) where
encodeDistribution (distr /\ rest) =
encodeDistribution distr <> encodeDistribution rest
decodeWallets d p = decodeWalletsDefault d p
Expand Down

0 comments on commit f09c25c

Please sign in to comment.