Skip to content

Commit

Permalink
fix: remove resolveToRemote plumbing for clist-outbound.js
Browse files Browse the repository at this point in the history
  • Loading branch information
FUDCo committed Mar 6, 2021
1 parent 86057fc commit caa367d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions packages/SwingSet/src/vats/comms/clist-outbound.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ export function makeOutbound(state, stateKit) {
changeDeciderToRemote,
} = stateKit;

let resolveToRemote; // cyclic, set later

function setDeliveryKit(deliveryKit) {
resolveToRemote = deliveryKit.resolveToRemote;
}

function getRemoteForLocal(remoteID, lref) {
const remote = getRemote(state, remoteID);
const rref = remote.toRemote.get(lref);
Expand Down Expand Up @@ -131,8 +125,6 @@ export function makeOutbound(state, stateKit) {
}

return harden({
setDeliveryKit,

getRemoteForLocal,
provideRemoteForLocal,
provideRemoteForLocalResult,
Expand Down
1 change: 0 additions & 1 deletion packages/SwingSet/src/vats/comms/clist.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export function makeCListKit(state, syscall, stateKit) {
);

function setDeliveryKit(deliveryKit) {
outbound.setDeliveryKit(deliveryKit);
kernel.setDeliveryKit(deliveryKit);
}

Expand Down

0 comments on commit caa367d

Please sign in to comment.