Skip to content

Commit

Permalink
refactor(SwingSet): minor tidying extracted from #9539
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jun 21, 2024
1 parent 0cfea88 commit c8dd396
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/SwingSet/src/vats/vat-admin/vat-vat-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,7 @@ export function buildRootObject(vatPowers, _vatParameters, baggage) {
noteRunningVat(vatID);

const adminNode = makeAdminNode(vatID);
return E.when(pendingP, root => {
return { adminNode, root };
});
return E.when(pendingP, root => harden({ adminNode, root }));
}

function getCriticalVatKey() {
Expand Down

0 comments on commit c8dd396

Please sign in to comment.