Skip to content

Commit

Permalink
doc: add void label on remote call to replaceAllocatios() & document
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Jul 21, 2023
1 parent b9c3ff2 commit 8de8500
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/zoe/src/contractFacet/zcfSeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ export const createSeatManager = (
activeZCFSeats.set(seat, allocation);
}

E(zoeInstanceAdmin).replaceAllocations(seatHandleAllocations);
// we don't wait for the results here. As described in
// docs/zoe-zcf.md, The initial allocation to a seat originates with
// Zoe, but *all subsequent updates come from ZCF to Zoe*.
void E(zoeInstanceAdmin).replaceAllocations(seatHandleAllocations);
} catch (err) {
shutdownWithFailure(err);
throw err;
Expand Down

0 comments on commit 8de8500

Please sign in to comment.