Skip to content

Commit

Permalink
Fix typos of "outputs" in comments.
Browse files Browse the repository at this point in the history
This also fixes a similar typo in the ordinary coin selection algorithm.

In response to review feedback:

#2618 (comment)
  • Loading branch information
jonathanknowles committed Apr 20, 2021
1 parent d481981 commit 9519bdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ data SelectionResult change = SelectionResult
-- ^ An optional extra source of ada.
, outputsCovered
:: ![TxOut]
-- ^ A list of ouputs covered.
-- ^ A list of outputs covered.
-- FIXME: Left as a list to allow to work-around the limitation of
-- 'performSelection' which cannot run for no output targets (e.g. in
-- the context of a delegation transaction). This allows callers to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ addValueToOutputs constraints outputsOriginal outputUnchecked =
--
-- As a tie-breaker, we give priority to outputs with smaller numbers
-- of assets. Merging with a smaller output is more likely to succeed,
-- because merging with a larger ouput is more likely to fall foul of
-- because merging with a larger output is more likely to fall foul of
-- the output size limit.
outputsSorted :: [TokenMap]
outputsSorted = L.sortOn sortOrder outputs
Expand Down

0 comments on commit 9519bdd

Please sign in to comment.