Skip to content

Commit

Permalink
refactor(vats): drop needless dependency injection of E
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Mar 8, 2022
1 parent dc7fd2a commit 35d72be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/vats/src/vat-network.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// @ts-check
import { E } from '@endo/far';
import { makeRouterProtocol } from '@agoric/swingset-vat/src/vats/network/router.js';

export function buildRootObject(_vatPowers) {
// @ts-expect-error UNTIL Endo updated https://github.com/endojs/endo/pull/1095/
return makeRouterProtocol(E); // already Far('Router')
return makeRouterProtocol(); // already Far('Router')
}

0 comments on commit 35d72be

Please sign in to comment.