From 061f5d5f498f121e194e509801567134a1dba7a5 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Sat, 23 Nov 2024 18:55:35 -0800 Subject: [PATCH] fix: makeReserveTerms doesn't actually take or return a timer --- packages/inter-protocol/src/reserve/params.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/inter-protocol/src/reserve/params.js b/packages/inter-protocol/src/reserve/params.js index 5da75a96fdc..f7e8aa2eac5 100644 --- a/packages/inter-protocol/src/reserve/params.js +++ b/packages/inter-protocol/src/reserve/params.js @@ -2,8 +2,10 @@ import { CONTRACT_ELECTORATE, ParamTypes } from '@agoric/governance'; -const makeReserveTerms = (poserInvitationAmount, timer) => ({ - timer, +/** + * @param {InvitationAmount} poserInvitationAmount + */ +const makeReserveTerms = poserInvitationAmount => ({ governedParams: harden({ [CONTRACT_ELECTORATE]: { type: ParamTypes.INVITATION,