Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Feb 6, 2023
1 parent b0468ee commit d22a236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydra-plutus/src/Hydra/Contract/Head.hs
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ findParticipationTokens headCurrency (Value val) =
{-# INLINEABLE findParticipationTokens #-}

headOutputDatum :: ScriptContext -> Datum
headOutputDatum ScriptContext{scriptContextTxInfo} =
findTxOutDatum scriptContextTxInfo (head $ txInfoOutputs txInfo)
headOutputDatum ctx =
findTxOutDatum txInfo (head $ txInfoOutputs txInfo)
where
ScriptContext{scriptContextTxInfo = txInfo} = ctx
{-# INLINEABLE headOutputDatum #-}
Expand Down

0 comments on commit d22a236

Please sign in to comment.