diff --git a/packages/SwingSet/src/vats/comms/clist-inbound.js b/packages/SwingSet/src/vats/comms/clist-inbound.js index 4b41bc312c8..1d0b3c3a639 100644 --- a/packages/SwingSet/src/vats/comms/clist-inbound.js +++ b/packages/SwingSet/src/vats/comms/clist-inbound.js @@ -35,7 +35,6 @@ export function makeInbound(state) { insistRemoteType('promise', rpid); const remote = state.getRemote(remoteID); const lpid = remote.mapFromRemote(flipRemoteSlot(rpid)); - remote.deleteToRemoteMapping(lpid); remote.enqueueRetirement(rpid); cdebug(`comms begin retiring ${remoteID} ${rpid} ${lpid}`); } diff --git a/packages/SwingSet/src/vats/comms/remote.js b/packages/SwingSet/src/vats/comms/remote.js index d0c46075119..9f681cfe1aa 100644 --- a/packages/SwingSet/src/vats/comms/remote.js +++ b/packages/SwingSet/src/vats/comms/remote.js @@ -67,10 +67,6 @@ export function makeRemote(state, store, remoteID) { state.decrementRefCount(lref, `{rref}|${remoteID}|clist`); } - function deleteToRemoteMapping(lref) { - store.delete(`${remoteID}.c.${lref}`); - } - function nextSendSeqNum() { return Number(store.getRequired(`${remoteID}.sendSeq`)); } @@ -150,7 +146,6 @@ export function makeRemote(state, store, remoteID) { mapToRemote, addRemoteMapping, deleteRemoteMapping, - deleteToRemoteMapping, allocateRemoteObject, skipRemoteObjectID, allocateRemotePromise, diff --git a/packages/SwingSet/test/test-comms.js b/packages/SwingSet/test/test-comms.js index 9f4ead32fb8..cdcf986524d 100644 --- a/packages/SwingSet/test/test-comms.js +++ b/packages/SwingSet/test/test-comms.js @@ -426,12 +426,12 @@ test('retire result promise on inbound message', t => { _('k>r', [pResult, false, 42]); _('a { _('a>m', oaLarry, 'more', undefined); _('k { _('k>r', [pPromise1, false, [pPromise2]], [pPromise2, false, [pPromise1]]); _('a { _('k