Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
chore: harden amountKeywordRecord (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
katelynsills authored Nov 16, 2021
1 parent 10fdd8e commit 6279b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/src/contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const start = async (zcf) => {
const mintPayment = (seat) => {
const amount = AmountMath.make(brand, 1000n);
// Synchronously mint and allocate amount to seat.
zcfMint.mintGains({ Token: amount }, seat);
zcfMint.mintGains(harden({ Token: amount }), seat);
// Exit the seat so that the user gets a payout.
seat.exit();
// Since the user is getting the payout through Zoe, we can
Expand Down

0 comments on commit 6279b46

Please sign in to comment.