Skip to content

Commit

Permalink
Rename inner helper function to balanceTransactionInner.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Apr 18, 2024
1 parent a4b744a commit f1fa5da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ balanceTransaction

let adjustedPartialTx = assignMinimalAdaQuantitiesToOutputsWithoutAda pp tx
balanceWith strategy =
balanceTransactionWithSelectionStrategyAndNoZeroAdaAdjustment
balanceTransactionInner
pp
timeTranslation
utxoAssumptions
Expand Down Expand Up @@ -707,7 +707,7 @@ assignMinimalAdaQuantitiesToOutputsWithoutAda pp =
if c == mempty then computeMinimumCoinForTxOut pp out else c

-- | Internal helper to 'balanceTransaction'
balanceTransactionWithSelectionStrategyAndNoZeroAdaAdjustment
balanceTransactionInner
:: forall era m changeState.
( MonadRandom m
, IsRecentEra era
Expand All @@ -727,7 +727,7 @@ balanceTransactionWithSelectionStrategyAndNoZeroAdaAdjustment
-> TimelockKeyWitnessCounts
-> Tx era
-> ExceptT (ErrBalanceTx era) m (Tx era, changeState)
balanceTransactionWithSelectionStrategyAndNoZeroAdaAdjustment
balanceTransactionInner
pp
timeTranslation
utxoAssumptions
Expand Down

0 comments on commit f1fa5da

Please sign in to comment.