Skip to content

Commit

Permalink
fix: remove $BOOT_ADDRESS support
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 23, 2020
1 parent cb95764 commit 3fd1e1d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/cosmic-swingset/lib/chain-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import makeBlockManager from './block-manager';
const AG_COSMOS_INIT = 'AG_COSMOS_INIT';

export default async function main(progname, args, { path, env, agcc }) {
const bootAddress = env.BOOT_ADDRESS;
const role = 'chain';

const portNums = {};

// TODO: use the 'basedir' pattern
Expand Down Expand Up @@ -184,10 +181,7 @@ export default async function main(progname, args, { path, env, agcc }) {
}

const vatsdir = path.resolve(__dirname, '../lib/ag-solo/vats');
const argv = [`--role=${role}`];
if (bootAddress) {
argv.push(...bootAddress.trim().split(/\s+/));
}
const argv = [`--role=chain`];
const s = await launch(
stateDBDir,
mailboxStorage,
Expand Down

0 comments on commit 3fd1e1d

Please sign in to comment.