Skip to content

Commit

Permalink
fix: missing multiples
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jun 15, 2022
1 parent f13c592 commit b9f8807
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/run-protocol/src/runStake/runStakeKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,12 @@ const helperBehavior = {
const wantRUN = proposal.want.Debt || emptyDebt;
const giveRUNonly = matches(
proposal,
harden({ give: { [KW.Debt]: M.record() }, want: {}, exit: M.any() }),
harden({
give: { [KW.Debt]: M.record() },
want: {},
multiples: 1n,
exit: M.any(),
}),
);

// Calculate the fee, the amount to mint and the resulting debt. We'll
Expand Down

0 comments on commit b9f8807

Please sign in to comment.