Skip to content

Commit

Permalink
chore: harden the returned object
Browse files Browse the repository at this point in the history
  • Loading branch information
katelynsills committed Nov 13, 2021
1 parent 5edf76e commit dda45dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zoe/src/cleanProposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const coerceAmountKeywordRecord = (
});

// Recreate the amountKeywordRecord with coercedAmounts.
return arrayToObj(coercedAmounts, keywords);
return harden(arrayToObj(coercedAmounts, keywords));
};

export const cleanKeywords = keywordRecord => {
Expand Down

0 comments on commit dda45dd

Please sign in to comment.