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

chore: harden amountKeywordRecord #36

Merged
merged 1 commit into from
Nov 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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