Skip to content

Commit

Permalink
Same potential performance issue here
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrange committed Jan 31, 2023
1 parent 73bebca commit fcea1e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hydra-plutus/src/Hydra/Contract/Head.hs
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ checkContest ctx@ScriptContext{scriptContextTxInfo} contestationDeadline parties
&& headId' == headId

(contestSnapshotNumber, contestUtxoHash, parties', contestationDeadline', headId') =
-- XXX: fromBuiltinData is super big (and also expensive?)
case fromBuiltinData @DatumType $ getDatum (continuingDatum ctx) of
Just
Closed
Expand Down

0 comments on commit fcea1e7

Please sign in to comment.