Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Jul 27, 2021
1 parent 4dc0512 commit 46d36a7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ selectCollateral params
requiredSearchSpaceSize =
Map.size coinsAvailable `numberOfSubsequencesOfSize` size

-- TODO: We should not use this as a fall-back: we should instead find the
-- smallest subset that still satisfies the minimum.
largestCombinationAvailable :: Map inputId Coin
largestCombinationAvailable = coinsAvailable
& Map.toList
Expand Down

0 comments on commit 46d36a7

Please sign in to comment.