Skip to content

Commit

Permalink
Remove typecast
Browse files Browse the repository at this point in the history
Co-authored-by: Michael FIG <mfig@agoric.com>
  • Loading branch information
erights and michaelfig authored Jan 15, 2021
1 parent 7cccf35 commit 734b85c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/zoe/src/contractFacet/contractFacet.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,7 @@ export function buildRootObject(powers, _params, testJigSetter = undefined) {
details`invitations must have a description string: ${description}`,
);

const invitationHandle = /** @type {InvitationHandle} */ (makeHandle(
'InvitationHandle',
));
const invitationHandle = makeHandle('Invitation');
invitationHandleToHandler.init(invitationHandle, offerHandler);
/** @type {Promise<Payment>} */
const invitationP = E(zoeInstanceAdmin).makeInvitation(
Expand Down

0 comments on commit 734b85c

Please sign in to comment.