diff --git a/packages/smart-wallet/src/invitations.js b/packages/smart-wallet/src/invitations.js index 75243d55b1f..ae4ee732901 100644 --- a/packages/smart-wallet/src/invitations.js +++ b/packages/smart-wallet/src/invitations.js @@ -1,8 +1,8 @@ -import { Fail } from '@endo/errors'; -import { E } from '@endo/far'; import { AmountMath } from '@agoric/ertp'; import { mustMatch } from '@agoric/store'; -import { InvitationHandleShape } from '@agoric/zoe/src/typeGuards.js'; +import { InvitationShape } from '@agoric/zoe/src/typeGuards.js'; +import { Fail } from '@endo/errors'; +import { E } from '@endo/far'; import { shape } from './typeGuards.js'; // A safety limit @@ -92,7 +92,7 @@ export const makeInvitationsHelper = ( } const invitation = await eref; - mustMatch(invitation, InvitationHandleShape); + mustMatch(invitation, InvitationShape); return invitation; }, /** @type {(spec: ContractInvitationSpec) => Promise} */