Skip to content

Commit

Permalink
Attempt to fix bundling issues due to the use of infix tuple type con…
Browse files Browse the repository at this point in the history
…structor
  • Loading branch information
klntsky committed Jan 19, 2023
1 parent 150e3ef commit a34c008
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Internal/Plutip/UtxoDistribution.purs
Original file line number Diff line number Diff line change
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 a34c008

Please sign in to comment.