From f427d35479c56779485bb63dbb4374b8bd81dba8 Mon Sep 17 00:00:00 2001 From: Jorge-Lopes Date: Thu, 31 Oct 2024 09:28:30 +0000 Subject: [PATCH] chore(a3p): provide in-line comment for unequipAllItemsOffer rel: https://github.com/Agoric/BytePitchPartnerEng/issues/13 --- a3p-integration/proposals/z:acceptance/test-lib/kread.js | 1 + 1 file changed, 1 insertion(+) diff --git a/a3p-integration/proposals/z:acceptance/test-lib/kread.js b/a3p-integration/proposals/z:acceptance/test-lib/kread.js index 0fefd1157f5..83ecc0c3f77 100644 --- a/a3p-integration/proposals/z:acceptance/test-lib/kread.js +++ b/a3p-integration/proposals/z:acceptance/test-lib/kread.js @@ -162,6 +162,7 @@ const unequipAllItemsOffer = async address => { throw new Error('Character not found on user purse'); } + // deal with KREAd's funky parallel character representation swap const inventoryKeyId = kreadCharacter.keyId === 1 ? 2 : 1; const kreadCharacter2 = { ...kreadCharacter, keyId: inventoryKeyId };