rm commented code and extra whitespace

This commit is contained in:
Michael Bradley, Jr 2018-07-12 16:03:56 -05:00 committed by Pascal Precht
parent cd9e715c6f
commit 79eff4a856
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 0 additions and 10 deletions

View File

@ -14,13 +14,6 @@ class Simulator {
let cmds = [];
const ganache = path.join(__dirname, '../../node_modules/.bin/ganache-cli');
// const testrpc = shelljs.which('testrpc');
// const ganache = shelljs.which('ganache-cli');
// if (!testrpc && !ganache) {
// this.logger.warn(__('%s is not installed on your machine', 'Ganache CLI (TestRPC)'));
// this.logger.info(__('You can install it by running: %s', 'npm -g install ganache-cli'));
// process.exit();
// }
let useProxy = this.blockchainConfig.proxy || false;
let host = (options.host || this.blockchainConfig.rpcHost || 'localhost');
@ -46,8 +39,6 @@ class Simulator {
cmds.push("-b \"" + (simulatorBlocktime) +"\"");
}
// const programName = ganache ? 'ganache-cli' : 'testrpc';
// const program = ganache ? ganache : testrpc;
const programName = 'ganache-cli';
const program = ganache;
console.log(`running: ${programName} ${cmds.join(' ')}`);
@ -57,7 +48,6 @@ class Simulator {
let ipcObject = new Ipc({ipcRole: 'client'});
proxy.serve(ipcObject, host, port, false);
}
}
}