-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mustUseCollateralUtxos
balancer constraint
#1513
Add mustUseCollateralUtxos
balancer constraint
#1513
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
let | ||
isSpendable = not <<< flip Set.member nonSpendableSet | ||
collateral <- case mbCollateralUtxos of | ||
-- if no collateral utxos are specified, use the wallet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just update the comment here that it also filters out unspendable ones.
using UTxOs from mempool
@klntsky this works for us, maybe we can merge? |
@KristianBalaj I just wanted to add some tests. Finally I can work on this again |
…onal-addresses-as-collateral
Pre-review checklist
make format
)## Unreleased
header, using the appropriate sub-headings (### Added
,### Removed
,### Fixed
), and the links to the appropriate issues/PRs have been included