Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed May 7, 2024
1 parent 23b5d55 commit f6e26dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ generateWithMinimalUTxO
-> Gen (TxWithUTxO era)
generateWithMinimalUTxO genTx _genTxIn genTxOut = do
tx <- genTx
utxo <- UTxO <$> genMapFromKeysWith genTxOut (txInputs tx)
utxo <- UTxO <$> genMapFromKeysWith genTxOut (txAllInputs tx)
pure $ TxWithUTxO.constructFiltered tx utxo
where
txInputs = view (bodyTxL . allInputsTxBodyF)
txAllInputs = view (bodyTxL . allInputsTxBodyF)

-- | Generates a 'TxWithUTxO' object that has a surplus UTxO set.
--
Expand Down

0 comments on commit f6e26dd

Please sign in to comment.