Skip to content

Commit

Permalink
Rename Write.Tx.Balance.Selection to SelectAssetsResult
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Apr 23, 2024
1 parent 5d98eca commit 446a183
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/balance-tx/lib/internal/Internal/Cardano/Write/Tx/Balance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,13 @@ balanceTxInner
-- transaction considering only the maximum cost, and only after, try to
-- adjust the change and ExUnits of each redeemer to something more
-- sensible than the max execution cost.
(Selection{extraInputs,extraCollateral,extraOutputs,extraInputScripts}, s')
( SelectAssetsResult
{ extraInputs
, extraCollateral
, extraOutputs
, extraInputScripts
}
, s')
<- selectAssets
pp
utxoAssumptions
Expand Down Expand Up @@ -880,7 +886,7 @@ balanceTxInner
left ErrBalanceTxAssignRedeemers $
assignScriptRedeemers pp timeTranslation utxoReference redeemers tx'

data Selection = Selection
data SelectAssetsResult = SelectAssetsResult
{ extraInputs :: [W.TxIn]
, extraCollateral :: [W.TxIn]
, extraOutputs :: [W.TxOut]
Expand Down

0 comments on commit 446a183

Please sign in to comment.