From 38aeee793b3a59d07eeacc254de0316668338560 Mon Sep 17 00:00:00 2001 From: Kate Sills Date: Mon, 15 Nov 2021 15:50:22 -0800 Subject: [PATCH] chore: harden amountKeywordRecord --- contract/src/contract.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract/src/contract.js b/contract/src/contract.js index f22df61..13a4793 100644 --- a/contract/src/contract.js +++ b/contract/src/contract.js @@ -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