Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed May 3, 2024
1 parent 3c846c7 commit 86d5119
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Internal.Cardano.Write.Tx.TxWithUTxO
( type TxWithUTxO
, pattern TxWithUTxO
, constructEither
, constructFilter
, constructFiltered
, isValid
)
where
Expand Down Expand Up @@ -104,12 +104,12 @@ constructEither tx utxo =
-- This function filters out any inputs within the given transaction that do
-- not resolve to a UTxO within the accompanying UTxO set.
--
constructFilter
constructFiltered
:: forall era. IsRecentEra era
=> Tx era
-> UTxO era
-> TxWithUTxO era
constructFilter tx0 utxo@(UTxO utxoMap) = UnsafeTxWithUTxO {tx, utxo}
constructFiltered tx0 utxo@(UTxO utxoMap) = UnsafeTxWithUTxO {tx, utxo}
where
tx :: Tx era
tx = over bodyTxL removeUnresolvableInputs tx0
Expand Down

0 comments on commit 86d5119

Please sign in to comment.