Skip to content

Commit 94efa18

Browse files
committed
chore(types): fix newly detected errors
1 parent 61b4489 commit 94efa18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/agoric-cli/src/commands/inter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ $ inter bid list --from my-acct
570570
? state.offerStatuses.entries()
571571
: current.liveOffers;
572572
for (const [id, spec] of entries) {
573-
const offerStatus = state.offerStatuses.get(id) || spec;
573+
const offerStatus = state.offerStatuses.get(String(id)) || spec;
574574
harden(offerStatus); // coalesceWalletState should do this
575575
// console.debug(offerStatus.invitationSpec);
576576
if (!matches(offerStatus.invitationSpec, bidInvitationShape))

packages/smart-wallet/src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const makeWalletStateCoalescer = (invitationBrand = undefined) => {
1919
* keyed by description; xxx assumes unique
2020
*
2121
* @type {Map<
22-
* OfferId,
22+
* string,
2323
* {
2424
* acceptedIn: OfferId;
2525
* description: string;

0 commit comments

Comments
 (0)