Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Kuleshevich <[email protected]>
  • Loading branch information
Jared Corduan and lehins authored Mar 10, 2022
1 parent f050e52 commit c9e7b67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions eras/babbage/impl/src/Cardano/Ledger/Babbage/Scripts.hs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ babbageInputDataHashes hashScriptMap tx (UTxO mp) =
txbody = body tx
spendinputs = getField @"inputs" txbody :: (Set (TxIn (Crypto era)))
smallUtxo = spendinputs SplitMap. mp
accum ans@(hashSet, inputSet) txin txout =
accum ans@(!hashSet, !inputSet) txin txout =
case txout of
(TxOut addr _ NoDatum _) ->
TxOut addr _ NoDatum _ ->
if isTwoPhaseScriptAddressFromMap @era hashScriptMap addr
then (hashSet, Set.insert txin inputSet)
else ans
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ defaultPPs =
MaxValSize 1000000000,
MaxTxExUnits $ ExUnits 1000000 1000000,
MaxBlockExUnits $ ExUnits 1000000 1000000,
ProtocolVersion $ ProtVer 6 0,
ProtocolVersion $ ProtVer 7 0,
CollateralPercentage 100
]

Expand Down

0 comments on commit c9e7b67

Please sign in to comment.